mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Use scrollLeft so the editor is not scrolled to the left on focus in/out
This commit is contained in:
@@ -739,7 +739,7 @@ class Editor extends View
|
||||
false
|
||||
|
||||
bringHiddenInputIntoView: ->
|
||||
@hiddenInput.css(top: @scrollTop() + 'px', left: 0)
|
||||
@hiddenInput.css(top: @scrollTop() + 'px', left: @scrollLeft())
|
||||
|
||||
selectOnMousemoveUntilMouseup: ->
|
||||
lastMoveEvent = null
|
||||
|
||||
Reference in New Issue
Block a user