mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 21:42:05 +08:00
Use color param in ui_draw_rounded_rect instead of hard coding
This commit is contained in:
+1
-1
@@ -629,7 +629,7 @@ static void ui_draw_rounded_rect(
|
||||
nvgRoundedRect(c, x, y, bottom_x, bottom_y, radius);
|
||||
|
||||
// Color the rect
|
||||
nvgFillColor(c, nvgRGBA(10, 10, 10, 150));
|
||||
nvgFillColor(c, color);
|
||||
|
||||
// Draw the rect
|
||||
nvgFill(c);
|
||||
|
||||
Reference in New Issue
Block a user