[gnome-shell] overview: Use the new main actor in show/hide transitions



commit b9dcbd9d33a4bbe406475c6a8c7b4e8362b9b6aa
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Mar 1 18:14:33 2013 +0100

    overview: Use the new main actor in show/hide transitions
    
    Commit 43ed66cf266bbd changed the toplevel overview actor, so it
    makes sense to change the show/hide transitions to use that instead
    of the existing group, to avoid elements layered on top of the
    group being excluded from the transitions.

 js/ui/overview.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 1f8f0d1..1b54a08 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -153,7 +153,7 @@ const Overview = new Lang.Class({
         this._overview.add_actor(this._coverPane);
         this._coverPane.connect('event', Lang.bind(this, function (actor, event) { return true; }));
 
-        this._overview.hide();
+        this._stack.hide();
         this._stack.add_actor(this._overview);
         global.overlay_group.add_actor(this._stack);
 
@@ -538,12 +538,12 @@ const Overview = new Lang.Class({
         Meta.disable_unredirect_for_screen(global.screen);
         global.window_group.hide();
         global.top_window_group.hide();
-        this._overview.show();
+        this._stack.show();
         this._backgroundGroup.show();
         this._viewSelector.show();
 
-        this._overview.opacity = 0;
-        Tweener.addTween(this._overview,
+        this._stack.opacity = 0;
+        Tweener.addTween(this._stack,
                          { opacity: 255,
                            transition: 'easeOutQuad',
                            time: ANIMATION_TIME,
@@ -665,7 +665,7 @@ const Overview = new Lang.Class({
         this._viewSelector.zoomFromOverview();
 
         // Make other elements fade out.
-        Tweener.addTween(this._overview,
+        Tweener.addTween(this._stack,
                          { opacity: 0,
                            transition: 'easeOutQuad',
                            time: ANIMATION_TIME,
@@ -703,7 +703,7 @@ const Overview = new Lang.Class({
         this._viewSelector.hide();
         this._desktopFade.hide();
         this._backgroundGroup.hide();
-        this._overview.hide();
+        this._stack.hide();
 
         this.visible = false;
         this.animationInProgress = false;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]