From 01e85f210c74f3213d13888a56b9f54818658f12 Mon Sep 17 00:00:00 2001 From: Ne Spesha Date: Tue, 7 Jun 2022 17:50:56 +0300 Subject: [PATCH] Unnecessary black color has been fixed. --- Source/svg/SVGParser.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/svg/SVGParser.swift b/Source/svg/SVGParser.swift index 58bf22c6..0bbe61fd 100644 --- a/Source/svg/SVGParser.swift +++ b/Source/svg/SVGParser.swift @@ -751,7 +751,7 @@ open class SVGParser { } guard var fillColor = styleParts[SVGKeys.fill] else { - return Color.black.with(a: opacity) + return Color.clear } if let colorId = parseIdFromUrl(fillColor) { if let fill = defFills[colorId] {