summaryrefslogtreecommitdiff
path: root/place.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-07 01:55:27 -0600
committerJeff Carr <[email protected]>2025-02-07 01:55:27 -0600
commitfb3c16707d72d41cbb92c2392f36dee76fa36936 (patch)
treef3a7455ea7edb6fa0074c5550c5b25c136e23b95 /place.go
parent5668e6f081453bdffb7d23f9259f01182d131ace (diff)
start closing down crappy color choices
Diffstat (limited to 'place.go')
-rw-r--r--place.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/place.go b/place.go
index 4d6aad5..b9b18cd 100644
--- a/place.go
+++ b/place.go
@@ -145,7 +145,9 @@ func (tk *guiWidget) placeWidgets(startW int, startH int) (int, int) {
case widget.Button:
if tk.isWindowDense() && tk.isInGrid() {
tk.frame = false
- tk.color = &colorButtonDense
+ tk.color = nil
+ tk.defaultColor = nil
+ tk.setColorButtonDense()
}
tk.gocuiSetWH(startW, startH)
return tk.gocuiSize.Width(), tk.gocuiSize.Height()