Skip to content

Commit

Permalink
[android] Clear path cache to fix fill rule when > 1 Use with same href
Browse files Browse the repository at this point in the history
  • Loading branch information
msand committed Apr 1, 2019
1 parent 76b8b82 commit fde018b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions android/src/main/java/com/horcrux/svg/UseView.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ void draw(Canvas canvas, Paint paint, float opacity) {
return;
}

template.clearCache();
canvas.translate((float) relativeOnWidth(mX), (float) relativeOnHeight(mY));
if (template instanceof RenderableView) {
((RenderableView)template).mergeProperties(this);
Expand Down

0 comments on commit fde018b

Please sign in to comment.