mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Fix id generation
This commit is contained in:
@@ -17,7 +17,7 @@ HighlightsComponent = React.createClass
|
||||
for markerId, decorations of highlightDecorations
|
||||
if decorations?
|
||||
for decoration in decorations
|
||||
highlightComponents.push(HighlightComponent({key: markerId + decoration.class, decoration, editor, lineHeightInPixels}))
|
||||
highlightComponents.push(HighlightComponent({key: "#{markerId}-#{decoration.class}", decoration, editor, lineHeightInPixels}))
|
||||
highlightComponents
|
||||
|
||||
shouldComponentUpdate: (newProps) ->
|
||||
|
||||
Reference in New Issue
Block a user