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

Commit

Permalink
Fixed lint errors (I had forgotten; pre-comment doesn't seem to run o…
Browse files Browse the repository at this point in the history
…n Windows)
  • Loading branch information
bsclifton committed Sep 10, 2016
1 parent a3acd96 commit aa777d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion app/renderer/components/menubar.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class MenubarItem extends ImmutableComponent {
e.stopPropagation()
}

const parentLabel = this.props.label
const rect = e.target.getBoundingClientRect()
windowActions.setContextMenuDetail(Immutable.fromJS({
left: rect.left,
Expand Down
1 change: 0 additions & 1 deletion js/actions/windowActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,6 @@ const windowActions = {
})
},


/**
* (Windows only)
* Dispatches a message to indicate the custom rendered Menubar should be toggled (shown/hidden)
Expand Down
6 changes: 3 additions & 3 deletions js/components/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,9 +760,9 @@ class Main extends ImmutableComponent {
{
menubarVisible
? <div className='titlebar'>
<Menubar template={menubarTemplate} />
<WindowCaptionButtons windowMaximized={this.props.windowState.getIn(['ui', 'isMaximized'])} />
</div>
<Menubar template={menubarTemplate} />
<WindowCaptionButtons windowMaximized={this.props.windowState.getIn(['ui', 'isMaximized'])} />
</div>
: null
}
<div className='navigatorWrapper'
Expand Down

0 comments on commit aa777d6

Please sign in to comment.