diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 02:40:44 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 02:40:44 -0600 |
| commit | 88e9594b9304aa8be7c1b766d54bb07979201a66 (patch) | |
| tree | 41f6f3d290be1fdf62b1d0d89715d6351c8abbe0 /eventMouse.go | |
| parent | 3faacd6c43e451847af8143a0c58bfd95535478d (diff) | |
removing old crappy code finally
Diffstat (limited to 'eventMouse.go')
| -rw-r--r-- | eventMouse.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eventMouse.go b/eventMouse.go index 6512805..a6bd19e 100644 --- a/eventMouse.go +++ b/eventMouse.go @@ -140,8 +140,8 @@ func msgDown(g *gocui.Gui, v *gocui.View) error { vx, vy, _, _, err := g.ViewPosition("msg") if err == nil { - xOffset = initialMouseX - vx - yOffset = initialMouseY - vy + me.stdout.offsetW = initialMouseX - vx + me.stdout.offsetH = initialMouseY - vy } log.Info("setting mousedown to true") // msgMouseDown = true |
