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

Commit 906a3559 authored by Robin Lee's avatar Robin Lee Committed by Android (Google) Code Review
Browse files

Merge "Fix missing "1.0f - " in factored-out helper" into main

parents 5a0615fd 78634820
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -334,7 +334,7 @@ constructor(
            else scrimsVisible && !areBlursDisabledForAppLaunch

    private fun zoomOutAsScale(zoomOutProgress: Float): Float =
        if (spatialModelPushbackInShader()) zoomOutProgress * PUSHBACK_SCALE_FOR_APP
        if (spatialModelPushbackInShader()) 1.0f - zoomOutProgress * PUSHBACK_SCALE_FOR_APP
        else 1.0f

    /** Callback that updates the window blur value and is called only once per frame. */