We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1df53f commit 46e5196Copy full SHA for 46e5196
src/cascadia/WindowsTerminal/NonClientIslandWindow.cpp
@@ -205,6 +205,11 @@ void NonClientIslandWindow::Initialize()
205
_rootGrid.Children().Append(_titlebar);
206
207
Controls::Grid::SetRow(_titlebar, 0);
208
+
209
+ // GH#3440 - When the titlebar is loaded (officially added to our UI tree),
210
+ // then make sure to update it's visual state to reflect if we're in the
211
+ // maximized state on launch.
212
+ _titlebar.Loaded([this](auto&&, auto&&) { _OnMaximizeChange(); });
213
}
214
215
// Method Description:
0 commit comments