mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-30 21:49:31 +00:00
fix: initialize PathView with empty path
This commit is contained in:
@@ -24,6 +24,7 @@ class PathView extends RenderableView {
|
||||
public PathView(ReactContext reactContext) {
|
||||
super(reactContext);
|
||||
PathParser.mScale = mScale;
|
||||
mPath = new Path();
|
||||
}
|
||||
|
||||
@ReactProp(name = "d")
|
||||
|
||||
Reference in New Issue
Block a user