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

Commit

Permalink
Merge pull request #4377 from bsclifton/fix-fullscreen-issue
Browse files Browse the repository at this point in the history
Show the caption buttons when in full screen mode (Windows only)
  • Loading branch information
bbondy authored Sep 29, 2016
2 parents ff888e9 + 4001354 commit e7e7fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ class Main extends ImmutableComponent {

get customTitlebar () {
const customTitlebarEnabled = isWindows
const captionButtonsVisible = customTitlebarEnabled && !this.props.windowState.getIn(['ui', 'isFullScreen'])
const captionButtonsVisible = customTitlebarEnabled
const menubarVisible = customTitlebarEnabled && (!getSetting(settings.AUTO_HIDE_MENU) || this.props.windowState.getIn(['ui', 'menubar', 'isVisible']))
const selectedIndex = this.props.windowState.getIn(['ui', 'menubar', 'selectedIndex'])
return {
Expand Down

0 comments on commit e7e7fc6

Please sign in to comment.