window, pos save and restore, add min window space to the top
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
88ce98e716
commit
6467b14486
@ -1490,7 +1490,7 @@ Future<Offset?> _adjustRestoreMainWindowOffset(
|
|||||||
if ((left + minWidth) > frameRight! ||
|
if ((left + minWidth) > frameRight! ||
|
||||||
(top + minWidth) > frameBottom! ||
|
(top + minWidth) > frameBottom! ||
|
||||||
(left + width - minWidth) < frameLeft ||
|
(left + width - minWidth) < frameLeft ||
|
||||||
top < frameTop!) {
|
(top - minWidth) < frameTop!) {
|
||||||
return null;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
return Offset(left, top);
|
return Offset(left, top);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user