From 192cf3b3fd0a5461348946b6b1aa29974dd6ce0a Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Wed, 25 Jul 2018 08:26:21 -0400 Subject: [PATCH] mousedown !== mousemove --- src/text-editor-component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text-editor-component.js b/src/text-editor-component.js index 6dc968efc..7c66f6f6a 100644 --- a/src/text-editor-component.js +++ b/src/text-editor-component.js @@ -3376,7 +3376,7 @@ class LineNumberGutterComponent { didMouseMove (event) { if (this.props.onMouseMove != null) { const {bufferRowStr, screenRowStr} = event.target.dataset - this.props.onMouseDown({ + this.props.onMouseMove({ bufferRow: parseInt(bufferRowStr, 10), screenRow: parseInt(screenRowStr, 10), domEvent: event