summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBownairo <eerokelly@gmail.com>2017-01-10 03:01:19 -0500
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2017-01-10 09:01:19 +0100
commit9c8ae8b5d1dcf67ee34969068f4068b5c6b9ce62 (patch)
tree272fce3888460ea0958a5f53d0d29524509a831d
parent7504e16527d4307343ac13f7543394b7dcfc5977 (diff)
Change input slices to be exactly pi/3 in size instead of slightly more (#107)
-rw-r--r--unlock_indicator.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}