From 25c623952b4cf1b60e15fbaf7562839bfe9f2201 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 13 Jun 2024 21:01:34 +0200 Subject: formatting --- src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt index 1d95413fe..6a0af6cba 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt @@ -21,7 +21,7 @@ object ColorUtils { fun blendRGB(start: Color, end: Color, percent: Double) = Color( (start.red * (1 - percent) + end.red * percent).toInt(), (start.green * (1 - percent) + end.green * percent).toInt(), - (start.blue * (1 - percent) + end.blue * percent).toInt() + (start.blue * (1 - percent) + end.blue * percent).toInt(), ) /** Darkens a color by a [factor]. The lower the [factor], the darker the color. */ -- cgit