mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-01 22:25:12 +00:00
remove useless double stops
This commit is contained in:
+2
-2
@@ -54,14 +54,14 @@
|
||||
opacity = 1;
|
||||
transparent = YES;
|
||||
}
|
||||
|
||||
|
||||
// This needs to be painted on a layer before being composited.
|
||||
CGContextSaveGState(context);
|
||||
CGContextConcatCTM(context, self.transform);
|
||||
CGContextSetAlpha(context, opacity);
|
||||
if (transparent) {
|
||||
CGContextBeginTransparencyLayer(context, NULL);
|
||||
|
||||
|
||||
}
|
||||
[self renderLayerTo:context];
|
||||
if (transparent) {
|
||||
|
||||
Reference in New Issue
Block a user