lib/rabbit/image/svg.rb in rabbit-3.0.0 vs lib/rabbit/image/svg.rb in rabbit-3.0.1

- old
+ new

@@ -40,13 +40,10 @@ end end def draw(canvas, x, y, params={}) if @handle - default_params = { - :width => width, - :height => height, - } + default_params = default_draw_params(x, y) canvas.draw_rsvg_handle(@handle, x, y, default_params.merge(params)) else super end end