summaryrefslogtreecommitdiff
path: root/place.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-25 11:44:06 -0500
committerJeff Carr <[email protected]>2025-03-25 13:17:00 -0500
commit9669a63c5d7a2ed5727b2c6b47095308edd002d5 (patch)
treef61cfdd2e8742cf35efe4c6e3d22aad6772df5d6 /place.go
parentbf250b5ac6c13e721ee27c0ad138d43318dd5c5d (diff)
use isDense() everywherev0.22.43
Diffstat (limited to 'place.go')
-rw-r--r--place.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/place.go b/place.go
index 00107b5..e637745 100644
--- a/place.go
+++ b/place.go
@@ -143,7 +143,7 @@ func (tk *guiWidget) placeWidgets(startW int, startH int) (int, int) {
// tk.dumpWidget(fmt.Sprintf("PlaceGroup(%d,%d)", maxW, newH))
return maxW, newH
case widget.Button:
- if tk.isWindowDense() && tk.isInGrid() {
+ if tk.isDense() && tk.isInGrid() {
tk.frame = false
// tk.color = nil
// tk.defaultColor = nil