lib/hexapdf/layout/page_style.rb in hexapdf-0.33.0 vs lib/hexapdf/layout/page_style.rb in hexapdf-0.34.0
- old
+ new
@@ -133,10 +133,11 @@
box = page.box
margin = Layout::Style::Quad.new(margin)
Layout::Frame.new(box.left + margin.left,
box.bottom + margin.bottom,
box.width - margin.left - margin.right,
- box.height - margin.bottom - margin.top)
+ box.height - margin.bottom - margin.top,
+ context: page)
end
end
end