mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Render highlights immediately to support underlayer shim
This commit is contained in:
@@ -8,7 +8,8 @@ HighlightsComponent = React.createClass
|
||||
displayName: 'HighlightsComponent'
|
||||
|
||||
render: ->
|
||||
div className: 'highlights', @renderHighlights()
|
||||
div className: 'highlights',
|
||||
@renderHighlights() if @isMounted()
|
||||
|
||||
renderHighlights: ->
|
||||
{editor, highlightDecorations, lineHeightInPixels} = @props
|
||||
|
||||
Reference in New Issue
Block a user