opt: add resize area into the compatible ui mode

This commit is contained in:
Kingtous
2023-02-27 15:56:09 +08:00
parent d8b025f3d8
commit 6e6fc64f62
7 changed files with 6 additions and 7 deletions

View File

@@ -59,7 +59,7 @@ const double kDesktopFileTransferMaximumWidth = 300;
const double kDesktopFileTransferRowHeight = 30.0;
const double kDesktopFileTransferHeaderHeight = 25.0;
EdgeInsets get kDragToResizeAreaPadding => Platform.isLinux
EdgeInsets get kDragToResizeAreaPadding => !kUseCompatibleUiMode && Platform.isLinux
? stateGlobal.fullscreen || stateGlobal.maximize
? EdgeInsets.zero
: EdgeInsets.all(4.0)