Skip to content

Commit

Permalink
fixed: full screen button does not release selected style when exitin…
Browse files Browse the repository at this point in the history
…g Full Screen mode

#1729
  • Loading branch information
d2phap committed Nov 28, 2023
1 parent 9eff02b commit ea2b654
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Source/ImageGlass/FrmMain/FrmMain.IGMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2456,11 +2456,9 @@ public bool IG_ToggleFullScreen(bool? enable = null, bool showInAppMessage = tru
if (_isFramelessBeforeFullscreen) IG_ToggleFrameless(true, false);
if (_isWindowFitBeforeFullscreen) IG_ToggleWindowFit(true, false);
}
else
{
// update toolbar items state
UpdateToolbarItemsState();
}

// update toolbar items state
UpdateToolbarItemsState();


if (showInAppMessage)
Expand Down

0 comments on commit ea2b654

Please sign in to comment.