Skip to content

Commit

Permalink
fix: revert "fix: skip rendering empty token text"
Browse files Browse the repository at this point in the history
This reverts commit 6bd1921.
  • Loading branch information
aminya committed Jan 18, 2021
1 parent 67ecf3b commit 86767a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/mixins/canvas-drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ function drawLines (firstRow, lastRow, offsetRow, lineHeight, charHeight, charWi
const numTokenToRender = Math.min(numToken, maxTokensInOneLine)
for (let iToken = 0; iToken < numTokenToRender; iToken++) {
const token = editorTokensForScreenRow[iToken]
if (token.text === '') { continue }
const tokenText = token.text.replace(invisibleRegExp, ' ')
const tokenScopes = token.scopes

Expand Down

0 comments on commit 86767a0

Please sign in to comment.