Start invocation light length from 0

Per discussion with UX

Test: verify WAI
Bug: 134590932
Change-Id: I623862ec1a24ab141584f513ddb5ab30e77f5b8f
This commit is contained in:
James O'Leary
2019-06-11 13:48:54 +00:00
parent e633afa786
commit bb3b31882d

View File

@@ -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);