mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Oh man. Render only once!
This commit is contained in:
@@ -538,6 +538,7 @@ EditorComponent = React.createClass
|
||||
@cursorsMoved = true
|
||||
|
||||
onDecorationChanged: ->
|
||||
return if @decorationChangedImmediate?
|
||||
@decorationChangedImmediate = setImmediate =>
|
||||
@requestUpdate()
|
||||
@decorationChangedImmediate = null
|
||||
|
||||
Reference in New Issue
Block a user