mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Skinny arrows 💄
This commit is contained in:
@@ -1366,7 +1366,7 @@ class Editor extends View
|
||||
while currentLine
|
||||
currentLine = @clearLine(currentLine)
|
||||
|
||||
clearLine: (lineElement) =>
|
||||
clearLine: (lineElement) ->
|
||||
next = lineElement.nextSibling
|
||||
@renderedLines[0].removeChild(lineElement)
|
||||
next
|
||||
@@ -1439,7 +1439,7 @@ class Editor extends View
|
||||
buildLineElementForScreenRow: (screenRow) ->
|
||||
@buildLineElementsForScreenRows(screenRow, screenRow)[0]
|
||||
|
||||
buildLineElementsForScreenRows: (startRow, endRow) =>
|
||||
buildLineElementsForScreenRows: (startRow, endRow) ->
|
||||
div = document.createElement('div')
|
||||
div.innerHTML = @htmlForScreenRows(startRow, endRow)
|
||||
new Array(div.children...)
|
||||
|
||||
Reference in New Issue
Block a user