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.
This commit is contained in:
Carlos Soriano 2014-08-26 19:10:02 +02:00
parent 26719b02e4
commit 079809af1d

View File

@ -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;