mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
Ripple tweaks
This commit is contained in:
@ -620,7 +620,7 @@ class Animate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getCurrentTime() {
|
getCurrentTime() {
|
||||||
return this.ani.currentTime;
|
return this.ani && this.ani.currentTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
playbackRate(value) {
|
playbackRate(value) {
|
||||||
|
@ -11,8 +11,8 @@ export class RippleActivator extends Activator {
|
|||||||
|
|
||||||
static OPACITY_OUT_DURATION = 750;
|
static OPACITY_OUT_DURATION = 750;
|
||||||
|
|
||||||
static EXPAND_OUT_PLAYBACK_RATE = 2;
|
static EXPAND_OUT_PLAYBACK_RATE = 3.5;
|
||||||
static DOWN_PLAYBACK_RATE = 0.45;
|
static DOWN_PLAYBACK_RATE = 0.65;
|
||||||
static OPACITY_OUT_PLAYBACK_RATE = 1;
|
static OPACITY_OUT_PLAYBACK_RATE = 1;
|
||||||
|
|
||||||
constructor(app, config) {
|
constructor(app, config) {
|
||||||
|
Reference in New Issue
Block a user