diff options
| author | Jeff Carr <[email protected]> | 2025-02-04 13:31:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-04 13:31:48 -0600 |
| commit | 3cf873439db0873df22f8fe46bc4da6c04ad14a1 (patch) | |
| tree | fa08f9702c6290c9a89d213d9a5a352ba487e7c5 /eventMouseClick.go | |
| parent | 652cf2b73b9ef58b8eccb163a108a20b01ccfafb (diff) | |
hmm. still no dice
Diffstat (limited to 'eventMouseClick.go')
| -rw-r--r-- | eventMouseClick.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go index 6ebd800..8c32910 100644 --- a/eventMouseClick.go +++ b/eventMouseClick.go @@ -15,11 +15,6 @@ func (tk *guiWidget) redrawWindow(w int, h int) { } tk.setFullSize() // might make the green box the right size - // draw the current window - // w = tk.gocuiSize.w0 + 4 - // h = tk.gocuiSize.h0 + 4 - w = w + 4 - h = h + 4 tk.DrawAt(w, h) tk.setColor(&colorActiveW) // sets the window to Green BG tk.placeWidgets(w, h) // compute the sizes & places for each widget @@ -47,7 +42,7 @@ func (tk *guiWidget) doWidgetClick(w int, h int) { me.currentWindow.isCurrent = true tk.active = false - tk.redrawWindow(tk.gocuiSize.w0, tk.gocuiSize.h0) + tk.redrawWindow(w, h) return case widget.Group: if tk.active { |
