mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Dont show foldable icon of soft wrapped lines
This commit is contained in:
@@ -124,10 +124,10 @@ class GutterComponent
|
||||
oldLineNumberState.top = newLineNumberState.top
|
||||
oldLineNumberState.screenRow = newLineNumberState.screenRow
|
||||
|
||||
buildLineNumberClassName: ({bufferRow, foldable, decorationClasses}) ->
|
||||
buildLineNumberClassName: ({bufferRow, foldable, decorationClasses, softWrapped}) ->
|
||||
className = "line-number line-number-#{bufferRow}"
|
||||
className += " " + decorationClasses.join(' ') if decorationClasses?
|
||||
className += " foldable" if foldable
|
||||
className += " foldable" if foldable and not softWrapped
|
||||
className
|
||||
|
||||
lineNumberNodeForScreenRow: (screenRow) ->
|
||||
|
||||
Reference in New Issue
Block a user