From bf72d31c5ce4d28f354129805ef21554a0323d93 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Mon, 10 Mar 2014 20:46:41 +0100 Subject: [PATCH] Make scalein effect (feel) quicker Inspired by the recent slidingpopups patch this aims to make the scalein effect feel a lot quicker. It only scales the window from 0.75 to 1. Animation duraton is shortened to match the separate "fade" effect. REVIEW: 115763 --- effects/scalein/package/contents/code/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/effects/scalein/package/contents/code/main.js b/effects/scalein/package/contents/code/main.js index 6ac941c81d..5c6a93a9fe 100644 --- a/effects/scalein/package/contents/code/main.js +++ b/effects/scalein/package/contents/code/main.js @@ -19,10 +19,10 @@ along with this program. If not, see . *********************************************************************/ /*global effect, effects, animate, animationTime, Effect, QEasingCurve */ var scaleInEffect = { - duration: animationTime(250), + duration: animationTime(150), loadConfig: function () { "use strict"; - scaleInEffect.duration = animationTime(250); + scaleInEffect.duration = animationTime(150); }, isScaleWindow: function (window) { "use strict"; @@ -44,7 +44,7 @@ var scaleInEffect = { to: 1.0 }, { type: Effect.Scale, - from: 0.0, + from: 0.75, to: 1.0 }] });