fix windowOnTop, maxmized state

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-08-11 15:53:47 +08:00
parent 8b82db1220
commit d66b10b508
5 changed files with 33 additions and 23 deletions

View File

@@ -77,7 +77,7 @@ const double kDesktopFileTransferHeaderHeight = 25.0;
EdgeInsets get kDragToResizeAreaPadding =>
!kUseCompatibleUiMode && Platform.isLinux
? stateGlobal.fullscreen || stateGlobal.maximize
? stateGlobal.fullscreen || stateGlobal.maximized
? EdgeInsets.zero
: EdgeInsets.all(5.0)
: EdgeInsets.zero;