Skip to content

Commit 80c529a

Browse files
committed
Revert the removal of LayoutUpdated_revoker from ColorSchemes in ab79a85
1 parent ab79a85 commit 80c529a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/cascadia/TerminalSettingsEditor/ColorSchemes.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
1313
{
1414
struct ColorSchemes : public HasScrollViewer<ColorSchemes>, ColorSchemesT<ColorSchemes>
1515
{
16+
public:
1617
ColorSchemes();
1718

1819
void OnNavigatedTo(const winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs& e);
@@ -25,6 +26,9 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation
2526
WINRT_OBSERVABLE_PROPERTY(Editor::ColorSchemesPageViewModel, ViewModel, _PropertyChangedHandlers, nullptr);
2627

2728
WINRT_CALLBACK(PropertyChanged, Windows::UI::Xaml::Data::PropertyChangedEventHandler);
29+
30+
private:
31+
winrt::Windows::UI::Xaml::FrameworkElement::LayoutUpdated_revoker _layoutUpdatedRevoker;
2832
};
2933
}
3034

0 commit comments

Comments
 (0)