mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-01 22:25:12 +00:00
Remove unused public method
This commit is contained in:
@@ -24,13 +24,14 @@
|
||||
svg.responsible = YES;
|
||||
}
|
||||
|
||||
[node mergeProperties:self mergeList:self.attributeList inherited:YES];
|
||||
[node mergeProperties:self];
|
||||
[node renderTo:context];
|
||||
|
||||
if ([node isKindOfClass: [RNSVGRenderable class]]) {
|
||||
RNSVGRenderable *renderable = node;
|
||||
[self concatLayoutBoundingBox:[renderable getLayoutBoundingBox]];
|
||||
}
|
||||
|
||||
return YES;
|
||||
}];
|
||||
}
|
||||
@@ -113,12 +114,4 @@
|
||||
|
||||
}
|
||||
|
||||
- (void)resetProperties
|
||||
{
|
||||
[self traverseSubviews:^(RNSVGNode *node) {
|
||||
[node resetProperties];
|
||||
return YES;
|
||||
}];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -27,9 +27,8 @@
|
||||
if (template) {
|
||||
[self beginTransparencyLayer:context];
|
||||
[self clip:context];
|
||||
[template mergeProperties:self mergeList:self.attributeList inherited:YES];
|
||||
[template mergeProperties:self];
|
||||
[template renderTo:context];
|
||||
[template resetProperties];
|
||||
[self endTransparencyLayer:context];
|
||||
} else if (self.href) {
|
||||
// TODO: calling yellow box here
|
||||
|
||||
Reference in New Issue
Block a user