Skip to content

Commit 71e7748

Browse files
committed
use helper
1 parent 0c774e4 commit 71e7748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftDraw/Sources/UIImage+SVG.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public extension SVG {
9595
f.opaque = false
9696
let r = UIGraphicsImageRenderer(size: CGSize(width: pixelsWide, height: pixelsHigh), format: f)
9797
return r.image {
98-
$0.cgContext.draw(self, in: bounds)
98+
$0.draw(self, in: bounds)
9999
}
100100
}
101101
#endif

0 commit comments

Comments
 (0)