fix a bug in the snap-back animation by turning it into a less-noticeable bug
svn path=/trunk/; revision=166
This commit is contained in:
parent
ee55d96190
commit
c86ce82921
@ -323,7 +323,7 @@ Workspace.prototype = {
|
||||
time: Overlay.ANIMATION_TIME,
|
||||
opacity: 255,
|
||||
transition: "easeOutQuad",
|
||||
onComplete: this._onCloneAnimComplete,
|
||||
onComplete: this._onCloneAnimationComplete,
|
||||
onCompleteScope: this,
|
||||
onCompleteParams: [window]
|
||||
});
|
||||
@ -552,6 +552,13 @@ Workspace.prototype = {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user