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.
This commit is contained in:
Timothy Bautista 2023-11-27 14:02:56 -07:00 committed by Vlad Zahorodnii
parent 0b1bc516e3
commit a25ae5261d

View file

@ -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: {