lib/dedalus/elements/image_grid.rb in dedalus-0.2.16 vs lib/dedalus/elements/image_grid.rb in dedalus-0.2.17
- old
+ new
@@ -27,10 +27,10 @@
def scale
@scale ||= 1.0
end
def record?
- !grid.empty?
+ grid && !grid.empty?
end
def width
if grid && grid.first
grid.first.length * tile_width * scale