mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-07 00:42:31 +00:00
Fix Dynamic paths within <G> don't update #973
This commit is contained in:
@@ -508,12 +508,12 @@ UInt32 saturate(CGFloat value) {
|
|||||||
|
|
||||||
- (void)mergeProperties:(__kindof RNSVGRenderable *)target
|
- (void)mergeProperties:(__kindof RNSVGRenderable *)target
|
||||||
{
|
{
|
||||||
self.merging = true;
|
|
||||||
NSArray<NSString *> *targetAttributeList = [target getAttributeList];
|
NSArray<NSString *> *targetAttributeList = [target getAttributeList];
|
||||||
|
|
||||||
if (targetAttributeList.count == 0) {
|
if (targetAttributeList.count == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
self.merging = true;
|
||||||
|
|
||||||
NSMutableArray* attributeList = [self.propList mutableCopy];
|
NSMutableArray* attributeList = [self.propList mutableCopy];
|
||||||
_originProperties = [[NSMutableDictionary alloc] init];
|
_originProperties = [[NSMutableDictionary alloc] init];
|
||||||
|
|||||||
Reference in New Issue
Block a user