Change input slices to be exactly pi/3 in size instead of slightly more (#107)

pull/117/head
Bownairo 2017-01-10 03:01:19 -05:00 committed by Michael Stapelberg
parent 7504e16527
commit 9c8ae8b5d1
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}