fix: linux resizable (#8015)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
69b11e8dc6
commit
b6d6a4360f
1 changed files with 1 additions and 1 deletions
|
|
@ -3266,7 +3266,7 @@ Widget buildVirtualWindowFrame(BuildContext context, Widget child) {
|
|||
);
|
||||
}
|
||||
|
||||
get windowEdgeSize => isLinux && _linuxWindowResizable ? 0.0 : kWindowEdgeSize;
|
||||
get windowEdgeSize => isLinux && !_linuxWindowResizable ? 0.0 : kWindowEdgeSize;
|
||||
|
||||
// `windowManager.setResizable(false)` will reset the window size to the default size on Linux and then set unresizable.
|
||||
// See _linuxWindowResizable for more details.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue