summaryrefslogtreecommitdiff
path: root/eventMouse.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventMouse.go')
-rw-r--r--eventMouse.go4
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