mousedown !== mousemove

This commit is contained in:
Ash Wilson
2018-07-25 08:26:21 -04:00
parent 2a1719f337
commit 192cf3b3fd

View File

@@ -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