Skip to content

Commit

Permalink
[OSX/Linux] Fix Maximize Window In Main Menu #111
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruba committed Jul 18, 2016
1 parent c93a3ad commit efc7769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Header/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class HeaderActions {
let state = !ipcRenderer.sendSync('app:get:maximized');
ipcRenderer.send('app:maximize', state);
this.actions.maximize(state);
document.querySelector('header .controls.win32 div.toggle i:nth-of-type(2)').style.display = state ? 'block' : 'none';
document.querySelector('header .controls div.toggle i:nth-of-type(2)').style.display = state ? 'block' : 'none';
}

toggleMinimize() {
Expand Down

0 comments on commit efc7769

Please sign in to comment.