Fix Dynamic paths within <G> don't update #973

This commit is contained in:
Mikael Sand
2019-03-18 20:09:58 +02:00
parent 3cff87fd4f
commit ccb06e8929
+1 -1
View File
@@ -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];