Skip to content

Commit

Permalink
Merge pull request #876 from hovancik/fix/mac-top-level
Browse files Browse the repository at this point in the history
Fixed tray menu not visible over break window on macOS
  • Loading branch information
hovancik authored Mar 8, 2021
2 parents 837f592 + d5453b4 commit 1769473
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- Updated many translations

### Fixed
- tray menu not visible over break window on macOS

## [1.4.0] - 2020-12-25
### Added
Expand Down
4 changes: 2 additions & 2 deletions app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ function startMicrobreak () {

microbreakWinLocal.loadURL(modalPath)
microbreakWinLocal.setVisibleOnAllWorkspaces(true)
microbreakWinLocal.setAlwaysOnTop(!showBreaksAsRegularWindows, 'screen-saver')
microbreakWinLocal.setAlwaysOnTop(!showBreaksAsRegularWindows, 'pop-up-menu')
if (microbreakWinLocal) {
microbreakWinLocal.on('close', (e) => {
if (!appIsQuitting) {
Expand Down Expand Up @@ -613,7 +613,7 @@ function startBreak () {
})
breakWinLocal.loadURL(modalPath)
breakWinLocal.setVisibleOnAllWorkspaces(true)
breakWinLocal.setAlwaysOnTop(!showBreaksAsRegularWindows, 'screen-saver')
breakWinLocal.setAlwaysOnTop(!showBreaksAsRegularWindows, 'pop-up-menu')
if (breakWinLocal) {
breakWinLocal.on('close', (e) => {
if (!appIsQuitting) {
Expand Down

0 comments on commit 1769473

Please sign in to comment.