mirror of
https://github.com/atom/atom.git
synced 2026-01-26 07:19:06 -05:00
👀
This commit is contained in:
@@ -3364,10 +3364,10 @@ class LineNumberGutterComponent {
|
||||
if (this.props.onMouseDown == null) {
|
||||
this.props.rootComponent.didMouseDownOnLineNumberGutter(event)
|
||||
} else {
|
||||
const {bufferRowStr, screenRowStr} = event.target.dataset
|
||||
const {bufferRow, screenRow} = event.target.dataset
|
||||
this.props.onMouseDown({
|
||||
bufferRow: parseInt(bufferRowStr, 10),
|
||||
screenRow: parseInt(screenRowStr, 10),
|
||||
bufferRow: parseInt(bufferRow, 10),
|
||||
screenRow: parseInt(screenRow, 10),
|
||||
domEvent: event
|
||||
})
|
||||
}
|
||||
@@ -3375,10 +3375,10 @@ class LineNumberGutterComponent {
|
||||
|
||||
didMouseMove (event) {
|
||||
if (this.props.onMouseMove != null) {
|
||||
const {bufferRowStr, screenRowStr} = event.target.dataset
|
||||
const {bufferRow, screenRow} = event.target.dataset
|
||||
this.props.onMouseMove({
|
||||
bufferRow: parseInt(bufferRowStr, 10),
|
||||
screenRow: parseInt(screenRowStr, 10),
|
||||
bufferRow: parseInt(bufferRow, 10),
|
||||
screenRow: parseInt(screenRow, 10),
|
||||
domEvent: event
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user