Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix typo that was causing problem w/ window restore status
Browse files Browse the repository at this point in the history
Fixes #7825

Auditors: @bbondy
  • Loading branch information
bsclifton committed Mar 22, 2017
1 parent dbe5dac commit d626336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/currentWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const currentWindow = require('electron').remote.getCurrentWindow()
const currentWindowId = currentWindow.id
let isFocused = currentWindow.isFocused()
let isMaximized = currentWindow.isMaximized()
let isFullScreen = currentWindow.isMaximized()
let isFullScreen = currentWindow.isFullScreen()

currentWindow.on('maximize', function (wnd) {
isMaximized = true
Expand Down

1 comment on commit d626336

@bbondy
Copy link
Member

@bbondy bbondy commented on d626336 Mar 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doh, ++

Please sign in to comment.