Commit 1e6c5a74 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii Committed by Nate Graham
Browse files

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.
parent 6b25335a
......@@ -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: [
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment