Skip to content

Commit

Permalink
fix(wpf): going fullscreen then exiting doesn't go back to the previo…
Browse files Browse the repository at this point in the history
…us window state
  • Loading branch information
ramezgerges committed Jun 4, 2024
1 parent 81e55a4 commit e771c26
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ private void UpdateIsVisible()

protected override IDisposable ApplyFullScreenPresenter()
{
_isFullScreen = true;
_wpfWindow.WindowStyle = WindowStyle.None;
_wpfWindow.WindowState = WindowState.Maximized;

Expand Down

0 comments on commit e771c26

Please sign in to comment.