This commit is contained in:
Passthem
2025-04-14 16:31:35 +08:00
parent be9b3569e0
commit f615f8cfa8

View File

@ -14,7 +14,8 @@ Color shader(Status* status) {
switch (status->mode) {
case LIGHT_MODE_RAINBOW:
return hsv_to_color(status->time * 120 + status->index * 6, 1, 1);
}
return hex_to_color(0xFFFFFF);
default:
return hex_to_color(0xFFFFFF);
}
}