more code cleanup

This commit is contained in:
2026-01-10 16:24:22 -06:00
parent 0633bedcc4
commit f148177ffc

View File

@@ -36,8 +36,8 @@ func Bootstrap() *Env {
// set controls to use 1/6th of the width
controlsRelWidth := 1.0 / 12.0
defaultGraphicsWidth := 9 * int((float64(defaultWindowWidth) * (1.0 - controlsRelWidth)))
defaultGraphicsHeight := 9 * defaultWindowHeight
defaultGraphicsWidth := 5 * int((float64(defaultWindowWidth) * (1.0 - controlsRelWidth)))
defaultGraphicsHeight := 5 * defaultWindowHeight
graphicsWidth := defaultGraphicsWidth
graphicsHeight := defaultGraphicsHeight
@@ -118,7 +118,7 @@ func main() {
field:
&AdderField{
fields: []Field{
&ScaleField{scale: 4, field: imageField},
&ScaleField{scale: 3, field: imageField},
&ScaleField{scale: 150, field: &SinXYField{ }},
},
},