mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
1882ac83ef
commit
76b6fb8f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -862,7 +862,7 @@ app.whenReady().then(() => {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "setTrafficLightPosition":
|
case "setTrafficLightPosition":
|
||||||
if (!currentWindow) {
|
if (!currentWindow || !currentWindow.setWindowButtonPosition) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (new URL(currentWindow.getURL()).pathname === "/stage/build/app/window.html") {
|
if (new URL(currentWindow.getURL()).pathname === "/stage/build/app/window.html") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue