Skip to content

Commit 4736849

Browse files
committed
[ProgressIndicator] Simplify flat linear indicator drawing logic
1 parent 0c2d842 commit 4736849

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)