mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Merge pull request #300 from ef4/continued-indent
Fix indent with continued
This commit is contained in:
commit
1d4c208d47
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user