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>
This commit is contained in:
Keyu Tao 2023-09-25 19:42:31 +08:00 committed by Marge Bot
parent d54e17d3d5
commit 5d1a0cc525

View File

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