From a25ae5261d8d7a4b98154f9be5ed180e6c030400 Mon Sep 17 00:00:00 2001 From: Timothy Bautista Date: Mon, 27 Nov 2023 14:02:56 -0700 Subject: [PATCH] plugins/morphingpopups: add easing curves This makes the motion of the effect more consistent with other window-related effects, which typically also use some form of a cubic curve. --- src/plugins/morphingpopups/package/contents/code/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/morphingpopups/package/contents/code/main.js b/src/plugins/morphingpopups/package/contents/code/main.js index adc67c4779..1cd843473e 100644 --- a/src/plugins/morphingpopups/package/contents/code/main.js +++ b/src/plugins/morphingpopups/package/contents/code/main.js @@ -25,6 +25,7 @@ var morphingEffect = { window.fadeAnimation = animate({ window: window, duration: morphingEffect.duration, + curve: QEasingCurve.InOutCubic, animations: [{ type: Effect.CrossFadePrevious, to: 1.0, @@ -87,6 +88,7 @@ var morphingEffect = { window.moveAnimation = animate({ window: window, duration: morphingEffect.duration, + curve: QEasingCurve.InOutCubic, animations: [{ type: Effect.Size, to: {