Fix main dropdown animation

feature/default_network_editable
Dan Finlay 9 years ago
parent 5bb075a278
commit 7b3f0ad43d
  1. 4
      ui/app/app.js

@ -173,12 +173,12 @@ App.prototype.renderAppBar = function () {
width: 16, width: 16,
barHeight: 2, barHeight: 2,
padding: 0, padding: 0,
isOpen: props.menuOpen, isOpen: state.isMainMenuOpen,
color: 'rgb(247,146,30)', color: 'rgb(247,146,30)',
onClick: (event) => { onClick: (event) => {
event.preventDefault() event.preventDefault()
event.stopPropagation() event.stopPropagation()
this.setState({ isMainMenuOpen: true }) this.setState({ isMainMenuOpen: !state.isMainMenuOpen })
}, },
}), }),
]), ]),

Loading…
Cancel
Save