Allows the text continue feature to work when the starting string is empty

This commit is contained in:
Aaron Fischer 2018-06-29 09:25:19 -07:00 committed by alafr
parent 93061f3210
commit 2567227a92

View File

@ -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