windowManager: Add "opacity: 0" to minimize ease animation

Extensions like dash-to-dock use set_icon_geometry() to window.
This changes the dest and scale of ease animation of minimize and
makes it looks very strange. By setting dest opacity to 0 the animation
could be more natural.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2968>
(cherry picked from commit 5d1a0cc525)
This commit is contained in:
Keyu Tao 2023-09-25 19:42:31 +08:00 committed by Florian Müllner
parent addee680a5
commit 451b4fbcf0

View file

@ -1123,6 +1123,7 @@ export class WindowManager {
}
actor.ease({
opacity: 0,
scale_x: xScale,
scale_y: yScale,
x: xDest,