Skip to content

Commit 86767a0

Browse files
committed
fix: revert "fix: skip rendering empty token text"
This reverts commit 6bd1921.
1 parent 67ecf3b commit 86767a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/mixins/canvas-drawer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,6 @@ function drawLines (firstRow, lastRow, offsetRow, lineHeight, charHeight, charWi
514514
const numTokenToRender = Math.min(numToken, maxTokensInOneLine)
515515
for (let iToken = 0; iToken < numTokenToRender; iToken++) {
516516
const token = editorTokensForScreenRow[iToken]
517-
if (token.text === '') { continue }
518517
const tokenText = token.text.replace(invisibleRegExp, ' ')
519518
const tokenScopes = token.scopes
520519

0 commit comments

Comments
 (0)