mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Don’t apply line decorations to mini editors
This commit is contained in:
@@ -98,6 +98,8 @@ class TextEditorPresenter
|
||||
Math.max(contentWidth, @getClientWidth())
|
||||
|
||||
lineDecorationClassesForRow: (row) ->
|
||||
return null if @model.isMini()
|
||||
|
||||
decorationClasses = null
|
||||
for markerId, decorations of @model.decorationsForScreenRowRange(row, row) when @model.getMarker(markerId).isValid()
|
||||
for decoration in decorations when decoration.isType('line')
|
||||
|
||||
Reference in New Issue
Block a user