Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit aa7caf4

Browse files
committed
allow DevDocs floating on top of fullscreen app
When I'm working on macOS fullscreen app, launch DevDocs.app will switch to another desktop. This commit make DevDocs.app be able to float on top of fullscreen app.
1 parent 25ac28f commit aa7caf4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ function createMainWindow() {
5353
titleBarStyle: 'hidden'
5454
})
5555

56+
win.setAlwaysOnTop(true, 'floating', 1)
57+
5658
if (process.platform === 'darwin') {
5759
win.setSheetOffset(24)
5860
}

0 commit comments

Comments
 (0)