Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b66ad48 authored by Christian Göllner's avatar Christian Göllner Committed by Christian Göllner
Browse files

Step clock animation: make animation cancellation instant

Test: Manually
Bug: 272730163
Change-Id: I663958733e384edf6085f1fb701c4bb2c326a9f0
parent ee3afca5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -648,7 +648,7 @@ class AnimatableClockView @JvmOverloads constructor(
        private const val DIGITS_PER_LINE = 2

        // How much of "fraction" to spend on canceling the animation, if needed
        private const val ANIMATION_CANCELLATION_TIME = 0.4f
        private const val ANIMATION_CANCELLATION_TIME = 0f

        // Delays. Each digit's animation should have a slight delay, so we get a nice
        // "stepping" effect. When moving right, the second digit of the hour should move first.