summaryrefslogtreecommitdiff
path: root/place.go
diff options
context:
space:
mode:
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()