Skip to content

Commit 591080d

Browse files
committed
Fix scratch pane for merge
1 parent e199fbe commit 591080d

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

src/cascadia/TerminalApp/ScratchpadContent.cpp

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

44
#include "pch.h"
55
#include "ScratchpadContent.h"
6-
#include "PaneArgs.h"
76
#include "ScratchpadContent.g.cpp"
87

98
using namespace winrt::Windows::Foundation;
@@ -37,7 +36,7 @@ namespace winrt::TerminalApp::implementation
3736
{
3837
return _root;
3938
}
40-
winrt::Windows::Foundation::Size ScratchpadContent::MinSize()
39+
winrt::Windows::Foundation::Size ScratchpadContent::MinimumSize()
4140
{
4241
return { 1, 1 };
4342
}

src/cascadia/TerminalApp/ScratchpadContent.h

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace winrt::TerminalApp::implementation
1414

1515
void UpdateSettings(const winrt::Microsoft::Terminal::Settings::Model::CascadiaSettings& settings);
1616

17-
winrt::Windows::Foundation::Size MinSize();
17+
winrt::Windows::Foundation::Size MinimumSize();
1818
void Focus(winrt::Windows::UI::Xaml::FocusState reason = winrt::Windows::UI::Xaml::FocusState::Programmatic);
1919
void Close();
2020
winrt::Microsoft::Terminal::Settings::Model::NewTerminalArgs GetNewTerminalArgs(const bool asContent) const;
@@ -27,14 +27,14 @@ namespace winrt::TerminalApp::implementation
2727
Windows::Foundation::IReference<winrt::Windows::UI::Color> TabColor() const noexcept { return nullptr; }
2828
winrt::Windows::UI::Xaml::Media::Brush BackgroundBrush();
2929

30-
til::typed_event<> CloseRequested;
31-
til::typed_event<winrt::Windows::Foundation::IInspectable, winrt::TerminalApp::BellEventArgs> BellRequested;
32-
til::typed_event<> TitleChanged;
33-
til::typed_event<> TabColorChanged;
34-
til::typed_event<> TaskbarProgressChanged;
3530
til::typed_event<> ConnectionStateChanged;
36-
til::typed_event<> ReadOnlyChanged;
37-
til::typed_event<> FocusRequested;
31+
til::typed_event<IPaneContent> CloseRequested;
32+
til::typed_event<IPaneContent, winrt::TerminalApp::BellEventArgs> BellRequested;
33+
til::typed_event<IPaneContent> TitleChanged;
34+
til::typed_event<IPaneContent> TabColorChanged;
35+
til::typed_event<IPaneContent> TaskbarProgressChanged;
36+
til::typed_event<IPaneContent> ReadOnlyChanged;
37+
til::typed_event<IPaneContent> FocusRequested;
3838

3939
private:
4040
winrt::Windows::UI::Xaml::Controls::Grid _root{ nullptr };

0 commit comments

Comments
 (0)