diff options
author | Empa <42304516+ItsEmpa@users.noreply.github.com> | 2024-06-12 15:57:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 15:57:45 +0200 |
commit | 0841775557372cfb97a97bb63b3af2f7871a0ec3 (patch) | |
tree | b1b772fc6999b86d37c3c5f3932cb6a3fdbc4f75 /src/main/java/at | |
parent | 830d3fe7d296603b545e583b8f49d5fa59e160ee (diff) | |
download | skyhanni-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.kt | 2 |
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) } |