debug
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
343bcbb363
commit
88ce98e716
@ -1487,9 +1487,9 @@ Future<Offset?> _adjustRestoreMainWindowOffset(
|
||||
.toDouble();
|
||||
}
|
||||
final minWidth = 10.0;
|
||||
if ((left - minWidth) > frameRight! ||
|
||||
(top - minWidth) > frameBottom! ||
|
||||
(left + width + minWidth) < frameLeft ||
|
||||
if ((left + minWidth) > frameRight! ||
|
||||
(top + minWidth) > frameBottom! ||
|
||||
(left + width - minWidth) < frameLeft ||
|
||||
top < frameTop!) {
|
||||
return null;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user