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

Commit b17dcaec 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

am: c9ae6158

Change-Id: I77ec9948c2fa6759f09a9e0aef3a7a0ec500d533
parents c530b5ae c9ae6158
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);