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

Fix the check for fullscreen window. #4181

Merged
merged 1 commit into from
Sep 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/components/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ class Main extends ImmutableComponent {

return <div id='window'
className={cx({
isFullScreen: activeFrame && activeFrame.get('isFullScreen'),
isFullScreen: this.props.windowState.getIn(['ui', 'isFullScreen']),
frameless: customTitlebar.captionButtonsVisible
})}
ref={(node) => { this.mainWindow = node }}
Expand Down