From 7b3f0ad43dc7b6cacb01548c8fe81f16aa426fa3 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 11 Jul 2016 11:33:12 -0700 Subject: [PATCH] Fix main dropdown animation --- ui/app/app.js | 4 ++-- 1 file 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 }) }, }), ]),