File tree 3 files changed +4
-8
lines changed
3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 3
3
4
4
#include " pch.h"
5
5
#include " TasksPaneContent.h"
6
- #include " PaneArgs.h"
7
6
#include " TasksPaneContent.g.cpp"
8
- #include " TaskViewModel.g.cpp"
9
7
#include " FilteredTask.g.cpp"
10
8
11
9
using namespace winrt ::Windows::Foundation;
@@ -74,7 +72,7 @@ namespace winrt::TerminalApp::implementation
74
72
{
75
73
return *this ;
76
74
}
77
- winrt::Windows::Foundation::Size TasksPaneContent::MinSize ()
75
+ winrt::Windows::Foundation::Size TasksPaneContent::MinimumSize ()
78
76
{
79
77
return { 1 , 1 };
80
78
}
Original file line number Diff line number Diff line change 3
3
4
4
#pragma once
5
5
#include " TasksPaneContent.g.h"
6
- #include " TaskViewModel.g.h"
7
6
#include " FilteredTask.g.h"
8
7
#include " FilteredCommand.h"
9
8
#include " ActionPaletteItem.h"
@@ -18,7 +17,7 @@ namespace winrt::TerminalApp::implementation
18
17
19
18
void UpdateSettings (const winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings& settings);
20
19
21
- winrt::Windows::Foundation::Size MinSize ();
20
+ winrt::Windows::Foundation::Size MinimumSize ();
22
21
void Focus (winrt::Windows::UI::Xaml::FocusState reason = winrt::Windows::UI::Xaml::FocusState::Programmatic);
23
22
void Close ();
24
23
winrt::Microsoft::Terminal::Settings::Model::NewTerminalArgs GetNewTerminalArgs (const bool asContent) const ;
@@ -88,7 +87,7 @@ namespace winrt::TerminalApp::implementation
88
87
c.UpdateFilter (filter);
89
88
}
90
89
91
- _PropertyChangedHandlers (*this , Windows::UI::Xaml::Data::PropertyChangedEventArgs{ L" Visibility" });
90
+ PropertyChanged. raise (*this , Windows::UI::Xaml::Data::PropertyChangedEventArgs{ L" Visibility" });
92
91
}
93
92
94
93
winrt::hstring Input ()
@@ -138,5 +137,4 @@ namespace winrt::TerminalApp::implementation
138
137
namespace winrt ::TerminalApp::factory_implementation
139
138
{
140
139
BASIC_FACTORY (TasksPaneContent);
141
- BASIC_FACTORY (TaskViewModel);
142
140
}
Original file line number Diff line number Diff line change @@ -1261,7 +1261,7 @@ namespace winrt::TerminalApp::implementation
1261
1261
const auto content{ pane->GetContent () };
1262
1262
if (const auto termContent{ content.try_as <winrt::TerminalApp::TerminalPaneContent>() })
1263
1263
{
1264
- const auto & termControl{ termContent.GetTerminal () };
1264
+ const auto & termControl{ termContent.GetTermControl () };
1265
1265
_rootPane->WalkTree ([termControl](const auto & p) {
1266
1266
if (const auto & taskPane{ p->GetContent ().try_as <TasksPaneContent>() })
1267
1267
{
You can’t perform that action at this time.
0 commit comments