Browse Source

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

master
Bownairo 8 years ago
committed by Michael Stapelberg
parent
commit
9c8ae8b5d1
  1. 4
      unlock_indicator.c

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

Loading…
Cancel
Save