From: Bownairo Date: Tue, 10 Jan 2017 08:01:19 +0000 (-0500) Subject: Change input slices to be exactly pi/3 in size instead of slightly more (#107) X-Git-Tag: 2.9~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c8ae8b5d1dcf67ee34969068f4068b5c6b9ce62;p=i3%2Fi3lock Change input slices to be exactly pi/3 in size instead of slightly more (#107) --- diff --git a/unlock_indicator.c b/unlock_indicator.c index 1483230..ddad957 100644 --- a/unlock_indicator.c +++ b/unlock_indicator.c @@ -296,8 +296,8 @@ xcb_pixmap_t draw_image(uint32_t *resolution) { BUTTON_CENTER /* x */, BUTTON_CENTER /* y */, BUTTON_RADIUS /* radius */, - highlight_start + (M_PI / 3.0) /* start */, - (highlight_start + (M_PI / 3.0)) + (M_PI / 128.0) /* end */); + (highlight_start + (M_PI / 3.0)) - (M_PI / 128.0) /* start */, + highlight_start + (M_PI / 3.0) /* end */); cairo_stroke(ctx); } }