From 090f80d173cd27b33cb7689f6b507e05c728db96 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sat, 26 Jan 2019 10:57:26 -0500 Subject: [PATCH] arcchart: Place the rounded edge in the right side of the arc. --- lib/wibox/container/arcchart.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wibox/container/arcchart.lua b/lib/wibox/container/arcchart.lua index 8efe4df2d..301ce128b 100644 --- a/lib/wibox/container/arcchart.lua +++ b/lib/wibox/container/arcchart.lua @@ -131,7 +131,7 @@ function arcchart:after_draw_children(_, cr, width, height) shape.arc(cr, wa.width-border_width, wa.height-border_width, 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()