popupMenu: Fix indentation and style

This commit is contained in:
Jasper St. Pierre 2013-08-22 14:07:32 -04:00
parent dd1651f2d1
commit 34ec457a47

View File

@ -872,15 +872,15 @@ const PopupSubMenu = new Lang.Class({
{ _arrow_rotation: 0, { _arrow_rotation: 0,
height: 0, height: 0,
time: 0.25, time: 0.25,
onUpdateScope: this,
onUpdate: function() {
this._arrow.rotation_angle_z = this.actor._arrow_rotation;
},
onCompleteScope: this, onCompleteScope: this,
onComplete: function() { onComplete: function() {
this.actor.hide(); this.actor.hide();
this.actor.set_height(-1); this.actor.set_height(-1);
}, },
onUpdateScope: this,
onUpdate: function() {
this._arrow.rotation_angle_z = this.actor._arrow_rotation;
}
}); });
} else { } else {
this._arrow.rotation_angle_z = 0; this._arrow.rotation_angle_z = 0;