mirror of
https://github.com/atom/atom.git
synced 2026-02-15 00:55:14 -05:00
Fix clicking on line
This commit is contained in:
@@ -763,6 +763,7 @@ class TextEditorComponent
|
||||
|
||||
screenPositionForMouseEvent: (event) ->
|
||||
pixelPosition = @pixelPositionForMouseEvent(event)
|
||||
pixelPosition.top += @presenter.scrollTop
|
||||
@editor.screenPositionForPixelPosition(pixelPosition)
|
||||
|
||||
pixelPositionForMouseEvent: (event) ->
|
||||
|
||||
Reference in New Issue
Block a user