lib/squib/deck.rb in squib-0.10.0 vs lib/squib/deck.rb in squib-0.11.0

- old
+ new

@@ -66,10 +66,10 @@ @progress_bar = Progress.new(@conf.progress_bars) # FIXME this is evil. Using something different with @ and non-@ show_info(config, layout) @width = Args::UnitConversion.parse width, dpi @height = Args::UnitConversion.parse height, dpi cards.times{ |i| @cards << Squib::Card.new(self, @width, @height, i) } - @layout = LayoutParser.load_layout(layout) + @layout = LayoutParser.new(dpi).load_layout(layout) enable_groups_from_env! if block_given? instance_eval(&block) # here we go. wheeeee! end end