Clock forces an aspect ratio
This commit is contained in:
parent
a1ab5f4353
commit
99492874ca
@ -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,
|
||||
|
Reference in New Issue
Block a user