mirror of https://github.com/anoshenko/rui.git
Update backgroundConicGradient.go
This commit is contained in:
parent
7ce631b6ce
commit
f632104d49
|
@ -72,6 +72,11 @@ func (point *BackgroundGradientAngle) color(session Session) (Color, bool) {
|
||||||
|
|
||||||
case Color:
|
case Color:
|
||||||
return color, true
|
return color, true
|
||||||
|
|
||||||
|
default:
|
||||||
|
if n, ok := isInt(color); ok {
|
||||||
|
return Color(n), true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0, false
|
return 0, false
|
||||||
|
|
Loading…
Reference in New Issue