Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
877b6e58
Unverified
Commit
877b6e58
authored
Feb 28, 2019
by
Thibaut Sardan
Committed by
GitHub
Feb 28, 2019
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
packages/fether-electron/src/main/app/menu/template/index.js
View file @
877b6e58
...
...
@@ -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
'
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment