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

Commit

Permalink
updated naming in main.js; menubar text no longer selectable
Browse files Browse the repository at this point in the history
  • Loading branch information
bsclifton committed Sep 15, 2016
1 parent 680f6a9 commit 37474ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/components/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -745,8 +745,8 @@ class Main extends ImmutableComponent {
const braverySettings = siteSettings.activeSettings(activeSiteSettings, this.props.appState, appConfig)
const loginRequiredDetail = activeFrame ? basicAuthState.getLoginRequiredDetail(this.props.appState, activeFrame.get('tabId')) : null

const menubarEnabled = isWindows
const menubarVisible = menubarEnabled && (!getSetting(settings.AUTO_HIDE_MENU) || this.props.windowState.getIn(['ui', 'menubar', 'isVisible']))
const customTitlebarEnabled = isWindows
const menubarVisible = customTitlebarEnabled && (!getSetting(settings.AUTO_HIDE_MENU) || this.props.windowState.getIn(['ui', 'menubar', 'isVisible']))
const menubarTemplate = menubarVisible ? this.props.appState.getIn(['menu', 'template']) : null
const menubarSelectedLabel = this.props.windowState.getIn(['ui', 'menubar', 'selectedLabel'])

Expand Down Expand Up @@ -853,7 +853,7 @@ class Main extends ImmutableComponent {
</div>
</div>
{
menubarEnabled
customTitlebarEnabled
? <WindowCaptionButtons windowMaximized={this.props.windowState.getIn(['ui', 'isMaximized'])} />
: null
}
Expand Down
1 change: 1 addition & 0 deletions less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@
.menubar {
display: inline-block;
cursor: default;
-webkit-user-select: none;

.menubarItem {
color: black;
Expand Down

0 comments on commit 37474ea

Please sign in to comment.