Skip to content

Commit 80df542

Browse files
committed
Remove comments
1 parent af9affa commit 80df542

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/text/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,10 @@ export default async function* buildTextNodes(
219219
currentLineHeight = engine.height(word)
220220
}
221221

222-
// const allowedToPutAtBeginning = ',.!?:-@)>]}%#'.indexOf(word[0]) < 0
223222
const allowedToJustify = !currentWidth
224223

225224
const willWrap =
226225
i &&
227-
// allowedToPutAtBeginning &&
228226
// When determining whether a line break is necessary, the width of the
229227
// trailing spaces is not included in the calculation, as the end boundary
230228
// can be closely adjacent to the last non-space character.

0 commit comments

Comments
 (0)