mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-06 16:32:24 +00:00
Fix #1029
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user