overview: Reset opacity when not animating
We are not resetting the opacity when we are not animating, which can cause a hidden window to end up with opacity 0 if we remove the tween to early.
This commit is contained in:
parent
d10e3d8498
commit
cc6a408d5d
@ -1141,6 +1141,7 @@ const Workspace = new Lang.Class({
|
|||||||
Tweener.removeTweens(clone.actor);
|
Tweener.removeTweens(clone.actor);
|
||||||
clone.actor.set_position(x, y);
|
clone.actor.set_position(x, y);
|
||||||
clone.actor.set_scale(scale, scale);
|
clone.actor.set_scale(scale, scale);
|
||||||
|
clone.actor.set_opacity(255);
|
||||||
clone.overlay.relayout(false);
|
clone.overlay.relayout(false);
|
||||||
this._showWindowOverlay(clone, overlay, isOnCurrentWorkspace);
|
this._showWindowOverlay(clone, overlay, isOnCurrentWorkspace);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user