aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorEmpa <42304516+ItsEmpa@users.noreply.github.com>2024-06-12 15:57:45 +0200
committerGitHub <noreply@github.com>2024-06-12 15:57:45 +0200
commit0841775557372cfb97a97bb63b3af2f7871a0ec3 (patch)
treeb1b772fc6999b86d37c3c5f3932cb6a3fdbc4f75 /src/main/java/at
parent830d3fe7d296603b545e583b8f49d5fa59e160ee (diff)
downloadskyhanni-0841775557372cfb97a97bb63b3af2f7871a0ec3.tar.gz
skyhanni-0841775557372cfb97a97bb63b3af2f7871a0ec3.tar.bz2
skyhanni-0841775557372cfb97a97bb63b3af2f7871a0ec3.zip
Fix: Custom Wardrobe Color (#2052)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt
index 243b3132f..eae98fb94 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt
@@ -586,7 +586,7 @@ object CustomWardrobe {
isCurrentSlot() -> equippedColor
favorite -> favoriteColor
else -> null
- }?.toChromaColor()?.transformIf({ isInCurrentPage() }) { darker() }
+ }?.toChromaColor()?.transformIf({ !isInCurrentPage() }) { darker() }
?: (if (isInCurrentPage()) samePageColor else otherPageColor).toChromaColor()
.transformIf({ locked || isEmpty() }) { darker(0.2) }.addAlpha(100)
}