lib/rabbit/image/svg.rb in rabbit-2.1.3 vs lib/rabbit/image/svg.rb in rabbit-2.1.4

- old
+ new

@@ -18,10 +18,10 @@ end end end def draw(canvas, x, y, params={}) - if @handle and canvas.rsvg_available? + if @handle default_params = { :width => width, :height => height, } canvas.draw_rsvg_handle(@handle, x, y, default_params.merge(params))