summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-05 12:32:41 -0600
committerJeff Carr <[email protected]>2025-02-05 12:32:41 -0600
commitf1eefc9a06880784269424bd5d8156ce7820b40d (patch)
treea9f4babf2b1c775ab3e09eace36de800f4e3f8ed /eventMouseClick.go
parent6a0fd773f41bb0d8892f30f022098a24ffdc562e (diff)
move code to better homes
Diffstat (limited to 'eventMouseClick.go')
-rw-r--r--eventMouseClick.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go
index 3707ae0..bfff2d4 100644
--- a/eventMouseClick.go
+++ b/eventMouseClick.go
@@ -27,7 +27,7 @@ func (tk *guiWidget) doWidgetClick(w int, h int) {
me.currentWindow.isCurrent = true
tk.active = false
- tk.redrawWindow(w, h)
+ tk.redrawWindow(w-2, h-2) // TODO: fix these hard coded things with offsets
return
case widget.Group:
if tk.active {