Ripple tweaks

This commit is contained in:
Max Lynch
2015-09-25 12:46:14 -05:00
parent 6fd4b5f323
commit 5a0584df0e
2 changed files with 3 additions and 3 deletions

View File

@ -620,7 +620,7 @@ class Animate {
}
getCurrentTime() {
return this.ani.currentTime;
return this.ani && this.ani.currentTime;
}
playbackRate(value) {

View File

@ -11,8 +11,8 @@ export class RippleActivator extends Activator {
static OPACITY_OUT_DURATION = 750;
static EXPAND_OUT_PLAYBACK_RATE = 2;
static DOWN_PLAYBACK_RATE = 0.45;
static EXPAND_OUT_PLAYBACK_RATE = 3.5;
static DOWN_PLAYBACK_RATE = 0.65;
static OPACITY_OUT_PLAYBACK_RATE = 1;
constructor(app, config) {