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:
parent
0b1bc516e3
commit
a25ae5261d
1 changed files with 2 additions and 0 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue