summaryrefslogtreecommitdiff
path: root/dropdown.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-31 16:05:34 -0600
committerJeff Carr <[email protected]>2025-01-31 22:08:21 -0600
commitbac14a675bb0cf284809ff31db98f4a3799fe1f6 (patch)
treefb8ca54f5b8fcf949fa6b57c417fc23cd5f2254e /dropdown.go
parentb7cd6d07fcaa69d009b3f33f7c59afb16b719029 (diff)
lots of work to clean up my old code
Diffstat (limited to 'dropdown.go')
-rw-r--r--dropdown.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dropdown.go b/dropdown.go
index 48bb5d2..9d306df 100644
--- a/dropdown.go
+++ b/dropdown.go
@@ -155,8 +155,8 @@ func (w *guiWidget) dropdownClicked(mouseW, mouseH int) string {
return ""
}
-var dtoggle bool // temporarily tracking show & hide
-var doffset int = 5 // how many spaces over the dropdown menu should be from the mouse
+var dtoggle bool = false // temporarily tracking show & hide
+var doffset int = 5 // how many spaces over the dropdown menu should be from the mouse
func dropdownUnclicked(w, h int) {
var d *guiWidget