Unverified Commit 877b6e58 authored by Thibaut Sardan's avatar Thibaut Sardan Committed by GitHub
Browse files

Merge pull request #454 from paritytech/luke-453-show-blurred-window

fix: Fixes #453. Show window if visible but blurred
parents 6750b710 540bc11b
Pipeline #31820 passed with stages
in 9 minutes and 19 seconds
......@@ -143,9 +143,12 @@ const getContextTrayMenuTemplate = fetherApp => {
{
label: 'Show/Hide Fether',
click () {
fetherApp.win.isVisible()
? fetherApp.win.hide()
: fetherApp.win.show();
if (fetherApp.win.isVisible() && fetherApp.win.isFocused()) {
fetherApp.win.hide();
} else {
fetherApp.win.show();
fetherApp.win.focus();
}
}
},
{ label: 'Quit', role: 'quit' }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment