From 53053b28f4e3e764338c16c7950bbc8ea676088f Mon Sep 17 00:00:00 2001 From: Ajay Krishna KV <55079486+AJAYK-01@users.noreply.github.com> Date: Sun, 4 Sep 2022 22:41:52 +0530 Subject: [PATCH] [Bug Fix]: Support for Shelf over Fullscreen apps on MacOs (#32) --- package.json | 4 ++-- src/Window.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index aa022db..7bc1098 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,6 @@ }, "devDependencies": { "electron": "^13.1.2", - "electron-builder": "^22.11.7" + "electron-builder": "^22.11.1" } -} +} \ No newline at end of file diff --git a/src/Window.js b/src/Window.js index 97f42e9..05ad3a0 100644 --- a/src/Window.js +++ b/src/Window.js @@ -55,7 +55,7 @@ class Instance { this.instance.loadURL(`file://${html_path}?id=${this.id}`); - this.instance.setVisibleOnAllWorkspaces(true); + this.instance.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true }); if (this.devFlag) this.instance.webContents.openDevTools();