fix: update code style
This commit is contained in:
parent
b2d0a44e2f
commit
fc6022996a
1 changed files with 3 additions and 3 deletions
|
|
@ -228,8 +228,8 @@ func (el *ThemableElement) Render() string {
|
||||||
return out
|
return out
|
||||||
}
|
}
|
||||||
|
|
||||||
func calculateAxisRadius(borderRadius float64, width float64, height float64) float64 {
|
func calculateAxisRadius(borderRadius, width, height float64) float64 {
|
||||||
var minimumSideSize = math.Min(width, height)
|
minimumSideSize := math.Min(width, height)
|
||||||
var maximumBorderRadiusValue = minimumSideSize / 2.0
|
maximumBorderRadiusValue := minimumSideSize / 2.0
|
||||||
return math.Min(borderRadius, maximumBorderRadiusValue)
|
return math.Min(borderRadius, maximumBorderRadiusValue)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue