mirror of
https://github.com/atom/atom.git
synced 2026-02-16 17:45:24 -05:00
Only return false if focused
Previously the editor would not gain focus if the underlayer was clicked.
This commit is contained in:
@@ -823,7 +823,7 @@ class Editor extends View
|
||||
|
||||
@underlayer.on 'mousedown', (e) =>
|
||||
@renderedLines.trigger(e)
|
||||
false
|
||||
false if @isFocused
|
||||
|
||||
@overlayer.on 'mousedown', (e) =>
|
||||
@overlayer.hide()
|
||||
|
||||
Reference in New Issue
Block a user