diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-07-12 02:33:12 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-07-12 02:33:12 +0800 |
commit | 7b3f0ad43dc7b6cacb01548c8fe81f16aa426fa3 (patch) | |
tree | d3abec1035f3d20d4d64b1c6d8f59fea90c75f40 /ui/app/app.js | |
parent | 5bb075a27810064b967dbee169f35abf449fd714 (diff) | |
download | tangerine-wallet-browser-7b3f0ad43dc7b6cacb01548c8fe81f16aa426fa3.tar tangerine-wallet-browser-7b3f0ad43dc7b6cacb01548c8fe81f16aa426fa3.tar.gz tangerine-wallet-browser-7b3f0ad43dc7b6cacb01548c8fe81f16aa426fa3.tar.bz2 tangerine-wallet-browser-7b3f0ad43dc7b6cacb01548c8fe81f16aa426fa3.tar.lz tangerine-wallet-browser-7b3f0ad43dc7b6cacb01548c8fe81f16aa426fa3.tar.xz tangerine-wallet-browser-7b3f0ad43dc7b6cacb01548c8fe81f16aa426fa3.tar.zst tangerine-wallet-browser-7b3f0ad43dc7b6cacb01548c8fe81f16aa426fa3.zip |
Fix main dropdown animation
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 4dd41d570..536b871b3 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -173,12 +173,12 @@ App.prototype.renderAppBar = function () { width: 16, barHeight: 2, padding: 0, - isOpen: props.menuOpen, + isOpen: state.isMainMenuOpen, color: 'rgb(247,146,30)', onClick: (event) => { event.preventDefault() event.stopPropagation() - this.setState({ isMainMenuOpen: true }) + this.setState({ isMainMenuOpen: !state.isMainMenuOpen }) }, }), ]), |