dont scale border radius with window size

This commit is contained in:
2023-12-17 03:47:11 +02:00
parent 788109eccd
commit 499591162e
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ void apply_translation(Matrix4x4 *matrix, Vec2f pos) {
mult_4x4(matrix, &temp);
}
Color mul_color(Color color, float amount) {
Color mult_color(Color color, float amount) {
Color result = color;
result.r = CORE_CLAMP((u8)((float)result.r * amount), 0, 255);