lib/rabbit/theme/slide-number/slide-number.rb in rabbit-2.2.0 vs lib/rabbit/theme/slide-number/slide-number.rb in rabbit-2.2.1

- old
+ new

@@ -15,10 +15,10 @@ slides.add_post_draw_proc(proc_name) do |slide, canvas, x, y, w, h, simulation| unless simulation text = Text.new("#{slide.index}/#{canvas.slide_size - 1}") text.font @slide_number_props - text.align = Pango::Layout::ALIGN_RIGHT + text.align = Pango::Alignment::RIGHT text.compile(canvas, x, y, w, h) layout = text.layout layout.set_width(w * Pango::SCALE) case @slide_number_position when :bottom