mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Update offset in existing focusout handler
This commit is contained in:
@@ -637,12 +637,10 @@ class Editor extends View
|
||||
@isFocused = true
|
||||
@addClass 'is-focused'
|
||||
|
||||
@hiddenInput.on 'blur', =>
|
||||
@hiddenInput.offset(top: 0, left: 0)
|
||||
|
||||
@hiddenInput.on 'focusout', =>
|
||||
@isFocused = false
|
||||
@removeClass 'is-focused'
|
||||
@hiddenInput.offset(top: 0, left: 0)
|
||||
|
||||
@underlayer.on 'mousedown', (e) =>
|
||||
@renderedLines.trigger(e)
|
||||
|
||||
Reference in New Issue
Block a user