mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Reflow only focused editors
This commit is contained in:
@@ -269,8 +269,8 @@ class TextEditorPresenter
|
||||
@resetTrackedUpdates()
|
||||
|
||||
updateReflowState: ->
|
||||
@state.content.continuousReflow = @continuousReflow
|
||||
@lineNumberGutter.continuousReflow = @continuousReflow
|
||||
@state.content.continuousReflow = @focused and @continuousReflow
|
||||
@lineNumberGutter.continuousReflow = @focused and @continuousReflow
|
||||
|
||||
startReflowing: ->
|
||||
@reflowingInterval = setInterval(@emitDidUpdateState.bind(this), @minimumReflowInterval)
|
||||
|
||||
Reference in New Issue
Block a user