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 76954cbfd2
commit 6942058e37

View file

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