aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-13 21:01:34 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-13 21:01:34 +0200
commit25c623952b4cf1b60e15fbaf7562839bfe9f2201 (patch)
treeb676ff3036858f6be46a264a99719c6e742556be
parent84c3ca3e72a30b18fd012e1b9390d32a95ed70a1 (diff)
downloadskyhanni-25c623952b4cf1b60e15fbaf7562839bfe9f2201.tar.gz
skyhanni-25c623952b4cf1b60e15fbaf7562839bfe9f2201.tar.bz2
skyhanni-25c623952b4cf1b60e15fbaf7562839bfe9f2201.zip
formatting
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ColorUtils.kt2
1 files changed, 1 insertions, 1 deletions
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. */