Skip to content

Commit 6329bd6

Browse files
committed
Revert "Make sure to update the maximize button's visual state on launch"
This reverts commit 46e5196.
1 parent ac08b7c commit 6329bd6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/cascadia/WindowsTerminal/NonClientIslandWindow.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,6 @@ void NonClientIslandWindow::Initialize()
205205
_rootGrid.Children().Append(_titlebar);
206206

207207
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(); });
213208
}
214209

215210
// Method Description:

0 commit comments

Comments
 (0)