From 59a2f0834902ef966e7370e5ffa244ff93c50ab3 Mon Sep 17 00:00:00 2001 From: Dietrich Featherston Date: Mon, 5 Jan 2026 14:45:45 -0600 Subject: [PATCH] disable saturation / k values for now --- main.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 85be04d..c0a0fe9 100644 --- a/main.go +++ b/main.go @@ -213,7 +213,7 @@ func main() { y := float32(10) - minX := float32(20) + minX := float32(60) maxX := float32(layout.controls.X + layout.controls.Width - 20) sliderWidth := maxX - minX - 20 controlRowHeight := 20 @@ -243,17 +243,19 @@ func main() { config.bVisible = gui.Toggle(rl.Rectangle{X: minX, Y: y, Width: 16, Height: 16}, "B", config.bVisible) config.b = uint8(gui.Slider(rl.Rectangle{X: minX + 20, Y: y, Width: sliderWidth, Height: 16}, "", "", float32(config.b), 0, 255)) - y += float32(controlRowHeight) + /* + // don't do anything with saturation / k values yet + y += float32(controlRowHeight) config.desaturate = !gui.Toggle(rl.Rectangle{X: minX, Y: y, Width: 16, Height: 16}, "S", !config.desaturate) config.saturation = gui.Slider(rl.Rectangle{X: minX + 20, Y: y, Width: sliderWidth, Height: 16}, "", "", config.saturation, 0, 100) - y += float32(controlRowHeight) - gui.Label(rl.Rectangle{X: minX, Y: y, Width: 16, Height: 16}, "K") config.kValue = gui.Slider(rl.Rectangle{X: minX + 20, Y: y, Width: sliderWidth, Height: 16}, "", "", config.kValue, 0, 2) + */ y += float32(controlRowHeight + 10) + } rl.EndDrawing()