effects/squash: Use cubic easing curve

According to the HIG, the InCubic easing curve should be used if the
animated item changes its state from visible to invisible and the
OutCubic easing curve if vice versa.
This commit is contained in:
Vlad Zahorodnii 2021-05-10 22:20:14 +03:00 committed by Nate Graham
parent 6b25335a2b
commit 1e6c5a7420

View file

@ -44,7 +44,7 @@ var squashEffect = {
window.minimizeAnimation = animate({
window: window,
curve: QEasingCurve.InOutSine,
curve: QEasingCurve.InCubic,
duration: squashEffect.duration,
animations: [
{
@ -110,7 +110,7 @@ var squashEffect = {
window.unminimizeAnimation = animate({
window: window,
curve: QEasingCurve.InOutSine,
curve: QEasingCurve.OutCubic,
duration: squashEffect.duration,
animations: [
{