This commit is contained in:
Mikael Sand
2019-06-20 02:22:11 +03:00
parent ee03606e40
commit b9267fba3a
2 changed files with 8 additions and 0 deletions
@@ -176,6 +176,8 @@ public class SvgView extends ReactViewGroup implements ReactCompoundView, ReactC
} else {
mTintColor = tintColor;
}
invalidate();
clearChildCache();
}
@ReactProp(name = "minX")
+6
View File
@@ -79,6 +79,12 @@
[self setNeedsDisplay];
}
- (void)tintColorDidChange
{
[self invalidate];
[self clearChildCache];
}
- (void)setMinX:(CGFloat)minX
{
if (minX == _minX) {