lib/rabbit/theme/slide-number/slide-number.rb in rabbit-2.0.1 vs lib/rabbit/theme/slide-number/slide-number.rb in rabbit-2.0.2

- old
+ new

@@ -21,12 +21,12 @@ text.compile(canvas, x, y, w, h) layout = text.layout layout.set_width(w * Pango::SCALE) case @slide_number_position when :bottom - number_y = canvas.height - @margin_bottom - text.height + number_y = canvas.height - slide.margin_bottom - text.height when :top - number_y = @margin_top + number_y = slide.margin_top end canvas.draw_layout(text.layout, x, number_y, @slide_number_color) end [x, y, w, h] end