mirror of
https://github.com/atom/atom.git
synced 2026-02-17 01:51:54 -05:00
Always render 'decoration' class on custom decorations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user