aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
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)
}