Always render 'decoration' class on custom decorations

This commit is contained in:
Nathan Sobo
2017-07-03 16:10:41 -06:00
parent 7c9f39e3f1
commit e7b4ad48f0
2 changed files with 6 additions and 6 deletions

View File

@@ -1105,7 +1105,7 @@ class TextEditorComponent {
const height = this.pixelPositionBeforeBlocksForRow(screenRange.end.row + 1) - top
decorations.push({
className: decoration.class,
className: 'decoration' + (decoration.class ? ' ' + decoration.class : ''),
element: TextEditor.viewForItem(decoration.item),
top,
height