[gnome-shell] windowManager: Fade windows on map
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] windowManager: Fade windows on map
- Date: Fri, 2 Apr 2010 17:51:27 +0000 (UTC)
commit f89b95c2aa8817f7ba0bc993ba9830eab3db533f
Author: Adel Gadllah <adel gadllah gmail com>
Date: Fri Apr 2 19:44:05 2010 +0200
windowManager: Fade windows on map
Fade in new windows instead of scaling them up from 0 to 1.
js/ui/windowManager.js | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index 3405e98..597e34a 100644
--- a/js/ui/windowManager.js
+++ b/js/ui/windowManager.js
@@ -153,14 +153,13 @@ WindowManager.prototype = {
}
actor.move_anchor_point_from_gravity(Clutter.Gravity.CENTER);
- actor.set_scale(0.0, 0.0);
+ actor.opacity = 0;
actor.show();
/* scale window up from 0x0 to normal size */
this._mapping.push(actor);
Tweener.addTween(actor,
- { scale_x: 1.0,
- scale_y: 1.0,
+ { opacity: 255,
time: WINDOW_ANIMATION_TIME,
transition: "easeOutQuad",
onComplete: this._mapWindowDone,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]