From 6467b144862f2fe202a24c7a133c32609816a99a Mon Sep 17 00:00:00 2001 From: dignow Date: Thu, 27 Jul 2023 09:17:07 +0800 Subject: [PATCH] window, pos save and restore, add min window space to the top Signed-off-by: dignow --- flutter/lib/common.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/lib/common.dart b/flutter/lib/common.dart index 4e5c21ced..b069fcee1 100644 --- a/flutter/lib/common.dart +++ b/flutter/lib/common.dart @@ -1490,7 +1490,7 @@ Future _adjustRestoreMainWindowOffset( if ((left + minWidth) > frameRight! || (top + minWidth) > frameBottom! || (left + width - minWidth) < frameLeft || - top < frameTop!) { + (top - minWidth) < frameTop!) { return null; } else { return Offset(left, top);