mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Allows the text continue feature to work when the starting string is empty
This commit is contained in:
parent
93061f3210
commit
2567227a92
@ -219,7 +219,7 @@ class LineWrapper extends EventEmitter
|
||||
# the y position
|
||||
if options.continued is yes
|
||||
@continuedX = 0 if lc > 1
|
||||
@continuedX += options.textWidth
|
||||
@continuedX += options.textWidth or 0
|
||||
@document.y = y
|
||||
else
|
||||
@document.x = @startX
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user