File tree 3 files changed +4
-1
lines changed
3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ namespace winrt::TerminalApp::implementation
120
120
void TasksPaneContent::_runCommandButtonClicked (const Windows::Foundation::IInspectable& sender,
121
121
const Windows::UI::Xaml::RoutedEventArgs&)
122
122
{
123
- if (const auto & taskVM{ sender.try_as <WUX::Controls::Button >().DataContext ().try_as <TaskViewModel >() })
123
+ if (const auto & taskVM{ sender.try_as <WUX::Controls::Button >().DataContext ().try_as <FilteredTask >() })
124
124
{
125
125
if (const auto & strongControl{ _control.get () })
126
126
{
Original file line number Diff line number Diff line change @@ -151,7 +151,9 @@ namespace winrt::TerminalApp::implementation
151
151
}
152
152
return L" " ;
153
153
};
154
+
154
155
winrt::Windows::Foundation::Collections::IObservableVector<TerminalApp::FilteredTask> Children () { return _children; }
156
+ winrt::Microsoft::Terminal::Settings::Model::Command Command () { return _command; }
155
157
156
158
winrt::Windows::UI::Xaml::Visibility Visibility ()
157
159
{
Original file line number Diff line number Diff line change 72
72
<FontIcon FontFamily =" Segoe Fluent Icons, Segoe MDL2 Assets"
73
73
FontSize =" 12"
74
74
Glyph ="  " />
75
+ <!-- xF5B0 is PlaySolid, also a good option. Seemed better to have a lightweight outline though -->
75
76
</Button .Content>
76
77
77
78
<Button .Resources>
You can’t perform that action at this time.
0 commit comments