From 5235b15fe4a188ac1ca779fa53bc8c5e402aa245 Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Sat, 7 Feb 2015 08:19:17 -0500 Subject: [PATCH] Fixing progress bar increment error. Fixes #34 --- lib/squib/graphics/save_doc.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/squib/graphics/save_doc.rb b/lib/squib/graphics/save_doc.rb index 7788fc1..74edd71 100644 --- a/lib/squib/graphics/save_doc.rb +++ b/lib/squib/graphics/save_doc.rb @@ -81,7 +81,6 @@ module Squib surface = trim(@cards[i].cairo_surface, p[:trim], @width, @height) cc.set_source(surface, x, y) cc.paint - bar.increment num_this_sheet += 1 x += surface.width + p[:gap] if num_this_sheet % p[:columns] == 0 # new row