fix rect roundness

This commit is contained in:
Alessandro Mauri 2024-12-13 14:42:15 +01:00
parent 3070fac9f5
commit 373243d138
3 changed files with 10 additions and 9 deletions

View file

@ -98,7 +98,7 @@ fn ElemEvents! Ctx.slider_ver(&ctx, String label, Rect size)
}
}
// Draw the button
// Draw the slider background and handle
Color bg_color = uint_to_rgba(0x0000ffff);
Color handle_color = uint_to_rgba(0x0ff000ff);
ctx.push_rect(c_elem.bounds, bg_color)!;