diff options
| author | Jeff Carr <[email protected]> | 2024-01-28 12:09:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-28 12:09:48 -0600 |
| commit | 44ee09f79843d3b9fca666b2c2dbd298a4c4eaba (patch) | |
| tree | bc64f54827858e35729f3e5ca3c34f2167faa286 /click.go | |
| parent | eca2f2aa481ea9c158592767eeeaceff09060466 (diff) | |
buttons work
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'click.go')
| -rw-r--r-- | click.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -309,6 +309,9 @@ func findUnderMouse() *tree.Node { var widget *guiWidget widget = n.TK.(*guiWidget) // ignore widgets that are not visible + if widget.node.WidgetId == 2222 { + widget.SetVisible(false) + } if widget.Visible() { if (widget.gocuiSize.w0 <= w) && (w <= widget.gocuiSize.w1) && (widget.gocuiSize.h0 <= h) && (h <= widget.gocuiSize.h1) { |
