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;
|
||||
case "setTrafficLightPosition":
|
||||
if (!currentWindow) {
|
||||
if (!currentWindow || !currentWindow.setWindowButtonPosition) {
|
||||
return;
|
||||
}
|
||||
if (new URL(currentWindow.getURL()).pathname === "/stage/build/app/window.html") {
|
||||
|
|
Loading…
Add table
Reference in a new issue