mirror of
https://github.com/fanchenio/DawnLauncher.git
synced 2025-07-13 21:02:10 +08:00
修复锁定尺寸重启软件失效问题
This commit is contained in:
parent
27a32c7eed
commit
a94d5a2244
@ -81,9 +81,7 @@ function createMainWindow() {
|
|||||||
mainWindow.setAlwaysOnTop(true, "screen-saver");
|
mainWindow.setAlwaysOnTop(true, "screen-saver");
|
||||||
}
|
}
|
||||||
// 锁定尺寸
|
// 锁定尺寸
|
||||||
if (!global.setting.general.lockSize) {
|
mainWindow.setResizable(!global.setting.general.lockSize);
|
||||||
mainWindow.setResizable(!global.setting.general.lockSize);
|
|
||||||
}
|
|
||||||
// 托盘
|
// 托盘
|
||||||
createTray(!global.setting.general.hideTray);
|
createTray(!global.setting.general.hideTray);
|
||||||
// 永远居中
|
// 永远居中
|
||||||
|
Loading…
Reference in New Issue
Block a user