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
This commit is contained in:
parent
32db9c109f
commit
bf72d31c5c
1 changed files with 3 additions and 3 deletions
|
@ -19,10 +19,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*********************************************************************/
|
||||
/*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
|
||||
}]
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue