Skip to content

Commit 919aabe

Browse files
committed
[ProgressIndicator] Simplify flat linear indicator drawing logic
Resolves material-components#5059 Resolves material-components#5060 Resolves material-components#5061 Resolves material-components#5057
1 parent 1b91a85 commit 919aabe

2 files changed

Lines changed: 238 additions & 172 deletions

File tree

lib/java/com/google/android/material/progressindicator/DrawingDelegate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ protected static class ActiveIndicator {
186186
}
187187

188188
/** An entity class for a point on a path, with the support of fundamental operations. */
189-
protected class PathPoint {
189+
protected static class PathPoint {
190190
// The vector to the position of the point.
191191
float[] posVec = new float[2];
192192
// The tangent vector of this point on a path. The length is not guaranteed.

0 commit comments

Comments
 (0)