Register click past last line handler on underlayer

This commit is contained in:
Kevin Sawicki
2012-12-27 08:26:32 -08:00
parent 2f7776d971
commit e941459ca7
2 changed files with 4 additions and 4 deletions

View File

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