lib/plasticine/helpers.rb in plasticine-1.2.3 vs lib/plasticine/helpers.rb in plasticine-1.2.4

- old
+ new

@@ -39,14 +39,15 @@ visual 'column', options end def line(options={}) - options.reverse_merge! lines_left_padding: 20, lines_right_padding: 20, lines_margin: 1, y_spacing_ratio: 1.10 + options.reverse_merge! lines_left_padding: 20, lines_right_padding: 20, lines_top_padding: 50, lines_margin: 1, y_spacing_ratio: 1.10 options[:data] = { lines_left_padding: options.delete(:lines_left_padding), lines_right_padding: options.delete(:lines_right_padding), + lines_top_padding: options.delete(:lines_top_padding), lines_margin: options.delete(:lines_margin), y_spacing_ratio: options.delete(:y_spacing_ratio) } visual 'line', options