Skip to content

Commit

Permalink
Fix wrapping for block in relative mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnsth committed Jul 26, 2018
1 parent 30f0960 commit 6a3348e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pdf/creator/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func (blk *Block) GeneratePageBlocks(ctx DrawContext) ([]*Block, DrawContext, er
cc.Translate(0, -blk.Height())
}
contents := append(*cc.Operations(), *dup.contents...)
contents.WrapIfNeeded()
dup.contents = &contents

blocks = append(blocks, dup)
Expand Down

0 comments on commit 6a3348e

Please sign in to comment.