fix indent with continued

This commit is contained in:
Edward Faulkner 2014-09-11 12:56:09 -04:00
parent ea22822d6c
commit 5b433d808a

View File

@ -34,6 +34,8 @@ class LineWrapper extends EventEmitter
@once 'line', =>
@document.x -= indent
@lineWidth += indent
if options.continued and not @continuedX
@continuedX = @indent
@continuedX = 0 unless options.continued
# handle left aligning last lines of paragraphs