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 { } else {
mTintColor = tintColor; mTintColor = tintColor;
} }
invalidate();
clearChildCache();
} }
@ReactProp(name = "minX") @ReactProp(name = "minX")
+6
View File
@@ -79,6 +79,12 @@
[self setNeedsDisplay]; [self setNeedsDisplay];
} }
- (void)tintColorDidChange
{
[self invalidate];
[self clearChildCache];
}
- (void)setMinX:(CGFloat)minX - (void)setMinX:(CGFloat)minX
{ {
if (minX == _minX) { if (minX == _minX) {