aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-08-30 16:52:06 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-08-30 16:52:06 +0200
commitb3c50a36e9c96229915627d2729aebd7ddd1a28b (patch)
tree76ad39e7f11ecf9b8b23460a9c719f9d4824797b
parent3717ae4336ba2f19a5d251840c05b2bd01be041c (diff)
parent3edbb11fc02e1564fba627c3bff6b233057c9016 (diff)
downloadsherlock.lv2-b3c50a36e9c96229915627d2729aebd7ddd1a28b.tar.xz
Merge commit '3edbb11fc02e1564fba627c3bff6b233057c9016'
-rw-r--r--nuklear/nuklear.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuklear/nuklear.h b/nuklear/nuklear.h
index b1f229e..a6d4536 100644
--- a/nuklear/nuklear.h
+++ b/nuklear/nuklear.h
@@ -7743,14 +7743,15 @@ nk_convert(struct nk_context *ctx, struct nk_buffer *cmds,
} break;
case NK_COMMAND_ARC: {
const struct nk_command_arc *c = (const struct nk_command_arc*)cmd;
- nk_draw_list_path_line_to(&ctx->draw_list, nk_vec2(c->cx, c->cy));
+ //nk_draw_list_path_line_to(&ctx->draw_list, nk_vec2(c->cx, c->cy));
nk_draw_list_path_arc_to(&ctx->draw_list, nk_vec2(c->cx, c->cy), c->r,
c->a[0], c->a[1], config->arc_segment_count);
- nk_draw_list_path_stroke(&ctx->draw_list, c->color, NK_STROKE_CLOSED, c->line_thickness);
+ //nk_draw_list_path_stroke(&ctx->draw_list, c->color, NK_STROKE_CLOSED, c->line_thickness);
+ nk_draw_list_path_stroke(&ctx->draw_list, c->color, NK_STROKE_OPEN, c->line_thickness);
} break;
case NK_COMMAND_ARC_FILLED: {
const struct nk_command_arc_filled *c = (const struct nk_command_arc_filled*)cmd;
- nk_draw_list_path_line_to(&ctx->draw_list, nk_vec2(c->cx, c->cy));
+ //nk_draw_list_path_line_to(&ctx->draw_list, nk_vec2(c->cx, c->cy));
nk_draw_list_path_arc_to(&ctx->draw_list, nk_vec2(c->cx, c->cy), c->r,
c->a[0], c->a[1], config->arc_segment_count);
nk_draw_list_path_fill(&ctx->draw_list, c->color);