Skip to content

Commit

Permalink
simplify polygons example
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjlockwood committed Mar 5, 2018
1 parent ef866d3 commit 1bb4bc5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions sample/src/main/java/com/example/kyrie/PolygonsFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,10 @@ private KyrieDrawable createLapsDrawable() {
.duration(DURATION);
builder.child(
CircleNode.builder()
.centerX(0)
.centerY(0)
.radius(8)
.fillColor(Color.BLACK)
.translateX(pathMotion.transform(p -> p.x))
.translateY(pathMotion.transform(p -> p.y)));
.radius(8)
.centerX(pathMotion.transform(p -> p.x))
.centerY(pathMotion.transform(p -> p.y)));
}

return builder.build();
Expand Down

0 comments on commit 1bb4bc5

Please sign in to comment.