[gnome-shell] WindowManager: clean up scale_y when overwrite the map animation
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] WindowManager: clean up scale_y when overwrite the map animation
- Date: Sun, 16 Dec 2012 19:46:56 +0000 (UTC)
commit 15063ef3d53bdd740f5e5c77d6fb4dadd737fa70
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun Dec 16 20:02:17 2012 +0100
WindowManager: clean up scale_y when overwrite the map animation
If we overwrite a map animation (for example because the actor is now destroyed),
we need to complete it first, otherwise it starts off from a random
middle point. This is the same treatment opacity gets for normal windows.
https://bugzilla.gnome.org/show_bug.cgi?id=690241
js/ui/windowManager.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index f596628..372d9a3 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -420,6 +420,7 @@ const WindowManager = new Lang.Class({
if (this._removeEffect(this._mapping, actor)) {
Tweener.removeTweens(actor);
actor.opacity = 255;
+ actor.scale_y = 1;
shellwm.completed_map(actor);
}
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]