mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
Ripple tweaks
This commit is contained in:
@ -620,7 +620,7 @@ class Animate {
|
||||
}
|
||||
|
||||
getCurrentTime() {
|
||||
return this.ani.currentTime;
|
||||
return this.ani && this.ani.currentTime;
|
||||
}
|
||||
|
||||
playbackRate(value) {
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user