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

Commit

Permalink
allow DevDocs floating on top of fullscreen app
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cades committed Sep 8, 2017
1 parent 25ac28f commit aa7caf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ function createMainWindow() {
titleBarStyle: 'hidden'
})

win.setAlwaysOnTop(true, 'floating', 1)

if (process.platform === 'darwin') {
win.setSheetOffset(24)
}
Expand Down

0 comments on commit aa7caf4

Please sign in to comment.