From 88f33afbb777a3d02631c4eb6a2d6f6dbf7fba3f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 6 Feb 2025 13:47:19 -0600 Subject: window depth order works --- eventMouseClick.go | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'eventMouseClick.go') diff --git a/eventMouseClick.go b/eventMouseClick.go index 5990f27..a04c992 100644 --- a/eventMouseClick.go +++ b/eventMouseClick.go @@ -20,7 +20,6 @@ func (tk *guiWidget) doWindowClick(w int, h int) { // now set this window as the current window me.currentWindow = tk me.currentWindow.isCurrent = true - tk.active = false tk.redrawWindow(w, h) setThingsOnTop() // sets help, Stdout, etc on the top after windows have been redrawn @@ -35,18 +34,6 @@ func (tk *guiWidget) doWidgetClick(w int, h int) { tk.doWindowClick(w, h) return case widget.Group: - /* - if tk.active { - tk.active = false - tk.placeWidgets(tk.startW, tk.startH) - tk.showWidgets() - } else { - tk.active = true - for _, child := range tk.children { - child.hideWidgets() - } - } - */ case widget.Checkbox: if tk.node.State.Checked { log.Log(WARN, "checkbox is being set to false") -- cgit v1.2.3