1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-09-11 13:15:35 +03:00

Unnecessary black color has been fixed.

This commit is contained in:
Ne Spesha 2022-06-07 17:50:56 +03:00
parent 9c087eafd6
commit 01e85f210c

View File

@ -751,7 +751,7 @@ open class SVGParser {
} }
guard var fillColor = styleParts[SVGKeys.fill] else { guard var fillColor = styleParts[SVGKeys.fill] else {
return Color.black.with(a: opacity) return Color.clear
} }
if let colorId = parseIdFromUrl(fillColor) { if let colorId = parseIdFromUrl(fillColor) {
if let fill = defFills[colorId] { if let fill = defFills[colorId] {