gnome-shell r166 - trunk/js/ui



Author: danw
Date: Tue Jan 27 20:05:55 2009
New Revision: 166
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=166&view=rev

Log:
fix a bug in the snap-back animation by turning it into a less-noticeable bug


Modified:
   trunk/js/ui/workspaces.js

Modified: trunk/js/ui/workspaces.js
==============================================================================
--- trunk/js/ui/workspaces.js	(original)
+++ trunk/js/ui/workspaces.js	Tue Jan 27 20:05:55 2009
@@ -323,7 +323,7 @@
                                time: Overlay.ANIMATION_TIME,
                                opacity: 255,
                                transition: "easeOutQuad",
-                               onComplete: this._onCloneAnimComplete,
+                               onComplete: this._onCloneAnimationComplete,
                                onCompleteScope: this,
                                onCompleteParams: [window]
                              });
@@ -552,6 +552,13 @@
                                    onCompleteScope: this,
                                    onCompleteParams: [clone]
                                  });
+                // Most likely, the clone is going to move away from the
+                // pointer now. But that won't cause a leave-event, so
+                // do this by hand. Of course, if the window only snaps
+                // back a short distance, this might be wrong, but it's
+                // better to have the label mysteriously missing than
+                // mysteriously present
+                clone._havePointer = false;
                 clone._animationCount++;
             }
         } else {



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