lib/thinreports/generator/pdf/document/draw_shape.rb in thinreports-0.10.2 vs lib/thinreports/generator/pdf/document/draw_shape.rb in thinreports-0.10.3

- old
+ new

@@ -73,10 +73,10 @@ # @param [Thinreports::Core::Shape::Basic::Internal] shape def draw_shape_rect(shape) x, y, w, h = shape.format.attributes.values_at('x', 'y', 'width', 'height') rect_attributes = build_graphic_attributes(shape.style.finalized_styles) do |attrs| - attrs[:radius] = shape.format.attributes['rx'] + attrs[:radius] = shape.format.attributes['border-radius'] end rect(x, y, w, h, rect_attributes) end end end