mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-08-02 12:32:14 +00:00
fix: make global show/hide work for windows
This commit is contained in:
parent
d65fbf643b
commit
a6668e6367
1 changed files with 2 additions and 0 deletions
|
|
@ -265,6 +265,8 @@ function registerShowAppShortCuts(cfg: KeyboardConfig) {
|
|||
case 'globalShowHide':
|
||||
actionFn = () => {
|
||||
if (mainWin.isFocused()) {
|
||||
// we need to blur the window for windows
|
||||
mainWin.blur();
|
||||
mainWin.hide();
|
||||
} else {
|
||||
showOrFocus(mainWin);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue