diff --git a/speedviewlib/src/main/java/com/github/anastr/speedviewlib/Gauge.kt b/speedviewlib/src/main/java/com/github/anastr/speedviewlib/Gauge.kt index 1c14b91..1bd2a43 100644 --- a/speedviewlib/src/main/java/com/github/anastr/speedviewlib/Gauge.kt +++ b/speedviewlib/src/main/java/com/github/anastr/speedviewlib/Gauge.kt @@ -956,7 +956,9 @@ abstract class Gauge constructor( override fun jumpDrawablesToCurrentState() { super.jumpDrawablesToCurrentState() - cancelSpeedAnimator() + if (trembleAnimator?.isRunning == true) { + cancelTremble() + } } override fun onAttachedToWindow() {