Update backgroundConicGradient.go

This commit is contained in:
Alexei Anoshenko 2024-11-27 16:28:11 +02:00
parent 7ce631b6ce
commit f632104d49
1 changed files with 5 additions and 0 deletions

View File

@ -72,6 +72,11 @@ func (point *BackgroundGradientAngle) color(session Session) (Color, bool) {
case Color:
return color, true
default:
if n, ok := isInt(color); ok {
return Color(n), true
}
}
}
return 0, false