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.
This commit is contained in:
Giovanni Campagna 2010-12-20 18:11:53 +01:00
parent 054f498201
commit bfc7b98e1d

View File

@ -909,6 +909,7 @@ PopupSubMenu.prototype = {
if (this._activeMenuItem) if (this._activeMenuItem)
this._activeMenuItem.setActive(false); this._activeMenuItem.setActive(false);
this._arrow.rotation_angle_z = 0;
this.actor.hide(); this.actor.hide();
this.isOpen = false; this.isOpen = false;