Skip to content

Commit 0c6a353

Browse files
committed
fix settings pane for merge
1 parent 591080d commit 0c6a353

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

src/cascadia/TerminalApp/SettingsPaneContent.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include "pch.h"
55
#include "SettingsPaneContent.h"
6-
#include "PaneArgs.h"
76
#include "SettingsPaneContent.g.cpp"
87
#include "Utils.h"
98

@@ -36,7 +35,7 @@ namespace winrt::TerminalApp::implementation
3635
{
3736
return _sui;
3837
}
39-
winrt::Windows::Foundation::Size SettingsPaneContent::MinSize()
38+
winrt::Windows::Foundation::Size SettingsPaneContent::MinimumSize()
4039
{
4140
return { 1, 1 };
4241
}

src/cascadia/TerminalApp/SettingsPaneContent.h

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace winrt::TerminalApp::implementation
1616
winrt::Windows::UI::Xaml::FrameworkElement GetRoot();
1717
winrt::Microsoft::Terminal::Settings::Editor::MainPage SettingsUI() { return _sui; }
1818

19-
winrt::Windows::Foundation::Size MinSize();
19+
winrt::Windows::Foundation::Size MinimumSize();
2020
void Focus(winrt::Windows::UI::Xaml::FocusState reason = winrt::Windows::UI::Xaml::FocusState::Programmatic);
2121
void Close();
2222
winrt::Microsoft::Terminal::Settings::Model::NewTerminalArgs GetNewTerminalArgs(const bool asContent) const;
@@ -29,14 +29,14 @@ namespace winrt::TerminalApp::implementation
2929
Windows::Foundation::IReference<winrt::Windows::UI::Color> TabColor() const noexcept;
3030
winrt::Windows::UI::Xaml::Media::Brush BackgroundBrush();
3131

32-
til::typed_event<> CloseRequested;
33-
til::typed_event<winrt::Windows::Foundation::IInspectable, winrt::TerminalApp::BellEventArgs> BellRequested;
34-
til::typed_event<> TitleChanged;
35-
til::typed_event<> TabColorChanged;
36-
til::typed_event<> TaskbarProgressChanged;
3732
til::typed_event<> ConnectionStateChanged;
38-
til::typed_event<> ReadOnlyChanged;
39-
til::typed_event<> FocusRequested;
33+
til::typed_event<IPaneContent> CloseRequested;
34+
til::typed_event<IPaneContent, winrt::TerminalApp::BellEventArgs> BellRequested;
35+
til::typed_event<IPaneContent> TitleChanged;
36+
til::typed_event<IPaneContent> TabColorChanged;
37+
til::typed_event<IPaneContent> TaskbarProgressChanged;
38+
til::typed_event<IPaneContent> ReadOnlyChanged;
39+
til::typed_event<IPaneContent> FocusRequested;
4040

4141
private:
4242
winrt::Microsoft::Terminal::Settings::Editor::MainPage _sui{ nullptr };

0 commit comments

Comments
 (0)