mirror of
https://github.com/atom/atom.git
synced 2026-02-12 23:55:10 -05:00
Register click past last line handler on underlayer
This commit is contained in:
@@ -326,8 +326,8 @@ class Editor extends View
|
||||
@removeClass 'focused'
|
||||
@autosave() if config.get "editor.autosave"
|
||||
|
||||
@scrollView.on 'click', (e) =>
|
||||
return unless e.target is @scrollView[0]
|
||||
@underlayer.on 'click', (e) =>
|
||||
return unless e.target is @underlayer[0]
|
||||
return unless e.offsetY > @overlayer.height()
|
||||
if e.shiftKey
|
||||
@selectToBottom()
|
||||
|
||||
Reference in New Issue
Block a user