[gnome-shell] workspace: Remove tweens of overlay.title before animate again



commit 079809af1d16832079c6b8ce5339270ad70d7f87
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Tue Aug 26 19:10:02 2014 +0200

    workspace: Remove tweens of overlay.title before animate again
    
    Currently we are removing tweens of the button and border, but not from
    the title. That causes the title to be in wrong positions sometimes when
    dragging windows on the overview, given that the slider is moving and
    therefore the windows + overlay are moving too.
    To avoid that, remove tweens of the title as well.

 js/ui/workspace.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index 7e157ad..ddd0431 100644
--- a/js/ui/workspace.js
+++ b/js/ui/workspace.js
@@ -519,6 +519,7 @@ const WindowOverlay = new Lang.Class({
 
         Tweener.removeTweens(button);
         Tweener.removeTweens(border);
+        Tweener.removeTweens(title);
 
         let [cloneX, cloneY, cloneWidth, cloneHeight] = this._windowClone.slot;
 


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