From bfc7b98e1df800d529975995707919514bb0a45f Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Mon, 20 Dec 2010 18:11:53 +0100 Subject: [PATCH] PopupMenu: restore the arrow when fast closing the menu When closing a submenu because the parent is closing, we skip the animation, but we need to restore the arrow anyway. --- js/ui/popupMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index d493c75b9..190f24a4e 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -909,6 +909,7 @@ PopupSubMenu.prototype = { if (this._activeMenuItem) this._activeMenuItem.setActive(false); + this._arrow.rotation_angle_z = 0; this.actor.hide(); this.isOpen = false;