arcchart: Place the rounded edge in the right side of the arc.

This commit is contained in:
Emmanuel Lepage Vallee 2019-01-26 10:57:26 -05:00
parent 9efcf9df87
commit 090f80d173
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ function arcchart:after_draw_children(_, cr, width, height)
shape.arc(cr, wa.width-border_width, wa.height-border_width, shape.arc(cr, wa.width-border_width, wa.height-border_width,
thickness+border_width, math.pi-end_angle, math.pi-start_angle, thickness+border_width, math.pi-end_angle, math.pi-start_angle,
(use_rounded_edges and k == 1), (use_rounded_edges and k == #values) (use_rounded_edges and k == #values), (use_rounded_edges and k == 1)
) )
cr:fill() cr:fill()