From ee6a0e40b0460a1bcd493f43b65fce3b0450ef8e Mon Sep 17 00:00:00 2001 From: radius Date: Wed, 24 Feb 2016 22:58:11 -0500 Subject: [PATCH] set rounding to zero, elements look better like this --- menu/drivers/wimp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/menu/drivers/wimp.c b/menu/drivers/wimp.c index dcfc1d31d0..45c78f55ef 100644 --- a/menu/drivers/wimp.c +++ b/menu/drivers/wimp.c @@ -444,7 +444,11 @@ static int wimp_start(struct wimp *gui, int width, int height) init = 1; } - + /* set rounding to zero on all elements */ + for (int i = 0; i < ZR_ROUNDING_MAX; ++i) + { + ctx->style.rounding[i] = 0; + } wimp_main(ctx, width, height, gui); wimp_control(ctx, width, height, gui); zr_buffer_info(&gui->status, &gui->ctx.memory);