From 5d1a0cc525e6df51aab0f358b2ff055806bfa61e Mon Sep 17 00:00:00 2001 From: Keyu Tao Date: Mon, 25 Sep 2023 19:42:31 +0800 Subject: [PATCH] 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: --- js/ui/windowManager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index d85e1e094..dd67b8ea3 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1192,6 +1192,7 @@ export class WindowManager { } actor.ease({ + opacity: 0, scale_x: xScale, scale_y: yScale, x: xDest,