We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af9affa commit 80df542Copy full SHA for 80df542
src/text/index.ts
@@ -219,12 +219,10 @@ export default async function* buildTextNodes(
219
currentLineHeight = engine.height(word)
220
}
221
222
- // const allowedToPutAtBeginning = ',.!?:-@)>]}%#'.indexOf(word[0]) < 0
223
const allowedToJustify = !currentWidth
224
225
const willWrap =
226
i &&
227
- // allowedToPutAtBeginning &&
228
// When determining whether a line break is necessary, the width of the
229
// trailing spaces is not included in the calculation, as the end boundary
230
// can be closely adjacent to the last non-space character.
0 commit comments