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

Commit 65e29327 authored by Michael Jurka's avatar Michael Jurka
Browse files

Fixed bug with reverseTransition

- calling this multiple times very quickly left the transition showing the wrong drawable
parent 7dd7c69f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -137,7 +137,7 @@ public class TransitionDrawable extends LayerDrawable implements Drawable.Callba
        final long time = SystemClock.uptimeMillis();
        // Animation is over
        if (time - mStartTimeMillis > mDuration) {
            if (mAlpha == 0) {
            if (mTo == 0) {
                mFrom = 0;
                mTo = 255;
                mAlpha = 0;