mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-05 16:04:38 +00:00
Fix #1029
This commit is contained in:
@@ -176,6 +176,8 @@ public class SvgView extends ReactViewGroup implements ReactCompoundView, ReactC
|
||||
} else {
|
||||
mTintColor = tintColor;
|
||||
}
|
||||
invalidate();
|
||||
clearChildCache();
|
||||
}
|
||||
|
||||
@ReactProp(name = "minX")
|
||||
|
||||
@@ -79,6 +79,12 @@
|
||||
[self setNeedsDisplay];
|
||||
}
|
||||
|
||||
- (void)tintColorDidChange
|
||||
{
|
||||
[self invalidate];
|
||||
[self clearChildCache];
|
||||
}
|
||||
|
||||
- (void)setMinX:(CGFloat)minX
|
||||
{
|
||||
if (minX == _minX) {
|
||||
|
||||
Reference in New Issue
Block a user