Skip to content

Commit

Permalink
tweak fullScreenToggle
Browse files Browse the repository at this point in the history
Close #18
  • Loading branch information
KnIfER committed Jul 28, 2021
1 parent 03c7023 commit 9c88f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PowerEditor/src/Notepad_plus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5254,7 +5254,7 @@ void Notepad_plus::fullScreenToggle()
_restoreButton.setButtonStatus(bs);

//Hide window so windows can properly update it
::ShowWindow(_pPublicInterface->getHSelf(), SW_HIDE);
//::ShowWindow(_pPublicInterface->getHSelf(), SW_HIDE);

//Set popup style for fullscreen window and store the old style
if (!_beforeSpecialView._isPostIt)
Expand Down Expand Up @@ -5291,7 +5291,7 @@ void Notepad_plus::fullScreenToggle()
else //toggle fullscreen off
{
//Hide window for updating, restore style and menu then restore position and Z-Order
::ShowWindow(_pPublicInterface->getHSelf(), SW_HIDE);
//::ShowWindow(_pPublicInterface->getHSelf(), SW_HIDE);

_restoreButton.setButtonStatus(buttonStatus_fullscreen ^ _restoreButton.getButtonStatus());
_restoreButton.display(false);
Expand Down

0 comments on commit 9c88f04

Please sign in to comment.