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:
parent
054f498201
commit
bfc7b98e1d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user