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);