Clock forces an aspect ratio

This commit is contained in:
Sasha Koshka 2023-01-17 14:47:07 -05:00
parent a1ab5f4353
commit 99492874ca
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,10 @@ func (element *AnalogClock) draw () {
0, 0.7, (second - 15) / 30 * math.Pi)
}
func (element *AnalogClock) MinimumHeightFor (width int) (height int) {
return width
}
func (element *AnalogClock) radialLine (
source artist.Pattern,
inner float64,