adjust toggle_switch

This commit is contained in:
Ryan Fleury
2025-03-24 15:48:44 -07:00
parent 2d7a8740bf
commit 87e4b8b3f8
+1 -1
View File
@@ -3175,7 +3175,7 @@ rd_cell(RD_CellParams *params, String8 string)
F32 toggle_t = ui_anim(ui_key_from_stringf(key, "toggled"), (F32)is_toggled, .initial = (F32)is_toggled);
Vec4F32 untoggled_bg_color = {0};
Vec4F32 toggled_bg_color = {0};
UI_TagF("pop")
UI_TagF("good_pop")
{
toggled_bg_color = ui_color_from_name(str8_lit("background"));
}