diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 13:47:19 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 13:47:19 -0600 |
| commit | 88f33afbb777a3d02631c4eb6a2d6f6dbf7fba3f (patch) | |
| tree | 818bf2c9af7253be3200eb69ba6a0aa2e94f7ba1 /eventMouseClick.go | |
| parent | 9fa974f6c4071d0ae93109c6683338be426306e3 (diff) | |
window depth order works
Diffstat (limited to 'eventMouseClick.go')
| -rw-r--r-- | eventMouseClick.go | 13 |
1 files changed, 0 insertions, 13 deletions
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") |
