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