Skip to content

Commit

Permalink
fix: initialize PathView with empty path
Browse files Browse the repository at this point in the history
  • Loading branch information
jayu committed Nov 28, 2019
1 parent 29dd8a4 commit 45192bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions android/src/main/java/com/horcrux/svg/PathView.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class PathView extends RenderableView {
public PathView(ReactContext reactContext) {
super(reactContext);
PathParser.mScale = mScale;
mPath = new Path();
}

@ReactProp(name = "d")
Expand Down

0 comments on commit 45192bd

Please sign in to comment.