mirror of
https://github.com/exyte/Macaw.git
synced 2024-09-11 13:15:35 +03:00
Add 'transparent' value handling to SVG parser
This commit is contained in:
parent
87e199ecfa
commit
d140291208
@ -372,7 +372,7 @@ open class SVGParser {
|
||||
guard let fillColor = styleParts["fill"] else {
|
||||
return Color.black
|
||||
}
|
||||
if fillColor == "none" {
|
||||
if fillColor == "none" || fillColor == "transparent" {
|
||||
return .none
|
||||
}
|
||||
var opacity: Double = 1
|
||||
|
Loading…
Reference in New Issue
Block a user