File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,9 @@ namespace winrt::TerminalApp::implementation
116
116
117
117
switch (visualState)
118
118
{
119
+ case WindowVisualState::WindowVisualStateIconified:
120
+ // Iconified (aka minimized) state should preserve the active window styling
121
+ break ;
119
122
case WindowVisualState::WindowVisualStateMaximized:
120
123
VisualStateManager::GoToState (MaximizeButton (), L" WindowStateMaximized" , false );
121
124
@@ -124,9 +127,7 @@ namespace winrt::TerminalApp::implementation
124
127
CloseButton ().Height (maximizedHeight);
125
128
MaximizeToolTip ().Text (RS_ (L" WindowRestoreDownButtonToolTip" ));
126
129
break ;
127
-
128
130
case WindowVisualState::WindowVisualStateNormal:
129
- case WindowVisualState::WindowVisualStateIconified:
130
131
default :
131
132
VisualStateManager::GoToState (MaximizeButton (), L" WindowStateNormal" , false );
132
133
You can’t perform that action at this time.
0 commit comments