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

Commit 4cf0106f authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Fix scrim tint when swiping up

The tint must also be interpolated, not only the opacity.

Test: manual
Bug: 111414690
Change-Id: I277a07fcdb6d666fa82287ddc0cd09c53b2e5f6e
parent 5d424061
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -421,6 +421,8 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener, OnCo
                        interpolatedFract);
                mCurrentInFrontAlpha = 0;
            }
            mCurrentBehindTint = ColorUtils.blendARGB(ScrimState.BOUNCER.getBehindTint(),
                    mState.getBehindTint(), interpolatedFract);
        }
    }