1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #423 from MetaMask/FixMenuBug

Fix main dropdown animation
This commit is contained in:
kumavis 2016-07-12 00:14:34 -07:00 committed by GitHub
commit 6537544463

View File

@ -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 })
}, },
}), }),
]), ]),