remove old debug prints, update TODO

This commit is contained in:
2024-06-11 19:22:29 +02:00
parent f14f4ff21a
commit 927e47dc92
3 changed files with 2 additions and 10 deletions

View File

@@ -278,10 +278,8 @@ func (config *Config) SwitchTheme(theme string) {
}
func (config *Config) ToggleGridlines() {
fmt.Printf("toggle grid lines, current: %t\n", config.ShowGrid)
config.ShowGrid = !config.ShowGrid
config.RestartCache = true
fmt.Printf("toggle grid lines, new: %t\n", config.ShowGrid)
}
func (config *Config) ToggleEvolution() {

View File

@@ -1,10 +1,8 @@
package main
import (
"fmt"
"image/color"
"github.com/alecthomas/repr"
"github.com/ebitenui/ebitenui"
"github.com/ebitenui/ebitenui/widget"
"github.com/hajimehoshi/ebiten/v2"
@@ -96,8 +94,6 @@ func (scene *SceneOptions) Init() {
gridlines := NewCheckbox("Show grid lines",
scene.Config.ShowGrid,
func(args *widget.CheckboxChangedEventArgs) {
fmt.Println("CHECKBOX CALLED")
repr.Println(args.State)
scene.Config.ToggleGridlines()
})