summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 13:47:19 -0600
committerJeff Carr <[email protected]>2025-02-06 13:47:19 -0600
commit88f33afbb777a3d02631c4eb6a2d6f6dbf7fba3f (patch)
tree818bf2c9af7253be3200eb69ba6a0aa2e94f7ba1 /eventMouseClick.go
parent9fa974f6c4071d0ae93109c6683338be426306e3 (diff)
window depth order works
Diffstat (limited to 'eventMouseClick.go')
-rw-r--r--eventMouseClick.go13
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")