mirror of
https://github.com/microsoft/terminal.git
synced 2026-04-07 06:39:44 +00:00
fix builds
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
|
||||
#include "pch.h"
|
||||
#include "TasksPaneContent.h"
|
||||
#include "PaneArgs.h"
|
||||
#include "TasksPaneContent.g.cpp"
|
||||
#include "TaskViewModel.g.cpp"
|
||||
#include "FilteredTask.g.cpp"
|
||||
|
||||
using namespace winrt::Windows::Foundation;
|
||||
@@ -74,7 +72,7 @@ namespace winrt::TerminalApp::implementation
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
winrt::Windows::Foundation::Size TasksPaneContent::MinSize()
|
||||
winrt::Windows::Foundation::Size TasksPaneContent::MinimumSize()
|
||||
{
|
||||
return { 1, 1 };
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
#include "TasksPaneContent.g.h"
|
||||
#include "TaskViewModel.g.h"
|
||||
#include "FilteredTask.g.h"
|
||||
#include "FilteredCommand.h"
|
||||
#include "ActionPaletteItem.h"
|
||||
@@ -18,7 +17,7 @@ namespace winrt::TerminalApp::implementation
|
||||
|
||||
void UpdateSettings(const winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings& settings);
|
||||
|
||||
winrt::Windows::Foundation::Size MinSize();
|
||||
winrt::Windows::Foundation::Size MinimumSize();
|
||||
void Focus(winrt::Windows::UI::Xaml::FocusState reason = winrt::Windows::UI::Xaml::FocusState::Programmatic);
|
||||
void Close();
|
||||
winrt::Microsoft::Terminal::Settings::Model::NewTerminalArgs GetNewTerminalArgs(const bool asContent) const;
|
||||
@@ -88,7 +87,7 @@ namespace winrt::TerminalApp::implementation
|
||||
c.UpdateFilter(filter);
|
||||
}
|
||||
|
||||
_PropertyChangedHandlers(*this, Windows::UI::Xaml::Data::PropertyChangedEventArgs{ L"Visibility" });
|
||||
PropertyChanged.raise(*this, Windows::UI::Xaml::Data::PropertyChangedEventArgs{ L"Visibility" });
|
||||
}
|
||||
|
||||
winrt::hstring Input()
|
||||
@@ -138,5 +137,4 @@ namespace winrt::TerminalApp::implementation
|
||||
namespace winrt::TerminalApp::factory_implementation
|
||||
{
|
||||
BASIC_FACTORY(TasksPaneContent);
|
||||
BASIC_FACTORY(TaskViewModel);
|
||||
}
|
||||
|
||||
@@ -1261,7 +1261,7 @@ namespace winrt::TerminalApp::implementation
|
||||
const auto content{ pane->GetContent() };
|
||||
if (const auto termContent{ content.try_as<winrt::TerminalApp::TerminalPaneContent>() })
|
||||
{
|
||||
const auto& termControl{ termContent.GetTerminal() };
|
||||
const auto& termControl{ termContent.GetTermControl() };
|
||||
_rootPane->WalkTree([termControl](const auto& p) {
|
||||
if (const auto& taskPane{ p->GetContent().try_as<TasksPaneContent>() })
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user