lib/prawn/images.rb in prawn-0.11.1 vs lib/prawn/images.rb in prawn-0.12.0
- old
+ new
@@ -156,10 +156,10 @@
self.y
end
end
def overruns_page?(h)
- (self.y - h) < bounds.absolute_bottom
+ (self.y - h) < reference_bounds.absolute_bottom
end
def calc_image_dimensions(info, options)
w = options[:width] || info.width
h = options[:height] || info.height