mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 01:21:14 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
c705f6b189
@ -278,10 +278,10 @@ const initMainWindow = () => {
|
||||
windowState.width = Math.min(defaultWidth, workArea.width);
|
||||
windowState.height = Math.min(defaultHeight, workArea.height);
|
||||
}
|
||||
if (x > workArea.width) {
|
||||
if (x >= workArea.width * 0.8) {
|
||||
x = 0;
|
||||
}
|
||||
if (y > workArea.height) {
|
||||
if (y >= workArea.height * 0.8) {
|
||||
y = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user