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

Commit c9ae6158 authored by James O'Leary's avatar James O'Leary Committed by android-build-merger
Browse files

Merge "Start invocation light length from 0" into qt-r1-dev

am: c8ff38db

Change-Id: Ieec8394cf0a6cf04c03e2bf5f1ffe1bf353c20e0
parents 7757093c c8ff38db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ public class InvocationLightsView extends View
            float arcLengthNormalized = cornerLengthNormalized * MINIMUM_CORNER_RATIO;
            float arcOffsetNormalized = (cornerLengthNormalized - arcLengthNormalized) / 2f;

            float minLightLength = arcLengthNormalized / 2;
            float minLightLength = 0;
            float maxLightLength = mGuide.getRegionWidth(PerimeterPathGuide.Region.BOTTOM) / 4f;

            float lightLength = MathUtils.lerp(minLightLength, maxLightLength, progress);