Skip to content

Commit

Permalink
Use kiosk instead of fullscreen
Browse files Browse the repository at this point in the history
to block all workspaces on macOS
  • Loading branch information
hovancik committed Oct 16, 2018
1 parent 287d159 commit ef8593b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
of system sleep
- Style padding inserted for settings page 3
- better font visibility across platforms
- blocking of all workspaces on macOS

### Changed
- Czech translations updated
Expand Down
4 changes: 2 additions & 2 deletions app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function startMicrobreak () {
// microbreakWinLocal.webContents.openDevTools()
microbreakWinLocal.once('ready-to-show', () => {
microbreakWinLocal.show()
microbreakWinLocal.setFullScreen(settings.get('fullscreen'))
microbreakWinLocal.setKiosk(settings.get('fullscreen'))
if (displayIdx === 0) {
breakPlanner.emit('microbreakStarted', true)
}
Expand Down Expand Up @@ -357,7 +357,7 @@ function startBreak () {
// breakWinLocal.webContents.openDevTools()
breakWinLocal.once('ready-to-show', () => {
breakWinLocal.show()
breakWinLocal.setFullScreen(settings.get('fullscreen'))
breakWinLocal.setKiosk(settings.get('fullscreen'))
if (displayIdx === 0) {
breakPlanner.emit('breakStarted', true)
}
Expand Down

0 comments on commit ef8593b

Please sign in to comment.