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