mirror of
https://github.com/atom/atom.git
synced 2026-02-15 00:55:14 -05:00
Passivize more event names: 'change(d)' & 'screen-lines-change(d)'
This commit is contained in:
@@ -784,7 +784,7 @@ class Editor extends View
|
||||
@newSelections.push(selection)
|
||||
@requestDisplayUpdate()
|
||||
|
||||
@activeEditSession.on 'screen-lines-change.editor', (e) => @handleScreenLinesChange(e)
|
||||
@activeEditSession.on 'screen-lines-changed.editor', (e) => @handleScreenLinesChange(e)
|
||||
|
||||
@newCursors = @activeEditSession.getCursors()
|
||||
@newSelections = @activeEditSession.getSelections()
|
||||
|
||||
Reference in New Issue
Block a user