diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-04-08 20:27:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-08 20:27:38 +0200 |
commit | 4aaf4295152d211b1c8853a173cc4cf6a9d000a2 (patch) | |
tree | 9ebd0a44cad5329bdd2452e99395e7cc7ba16f41 /src/main/java/at/hannibal2/skyhanni/features/rift | |
parent | 451a9b5636c113d1da15fc6419ea99f306f66e55 (diff) | |
download | skyhanni-4aaf4295152d211b1c8853a173cc4cf6a9d000a2.tar.gz skyhanni-4aaf4295152d211b1c8853a173cc4cf6a9d000a2.tar.bz2 skyhanni-4aaf4295152d211b1c8853a173cc4cf6a9d000a2.zip |
Fix/Backend: Renderable.itemStack itemScale (#1390)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/rift')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/ShowMotesNpcSellPrice.kt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/ShowMotesNpcSellPrice.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/ShowMotesNpcSellPrice.kt index 88269a643..f5f0ac58a 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/ShowMotesNpcSellPrice.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/rift/everywhere/motes/ShowMotesNpcSellPrice.kt @@ -46,7 +46,7 @@ class ShowMotesNpcSellPrice { if (inInventory) { config.inventoryValue.position.renderStringsAndItems( display, - itemScale = 1.3, + itemScale = 0.7, posLabel = "Inventory Motes Value" ) } @@ -146,7 +146,14 @@ class ShowMotesNpcSellPrice { add("") add("§6Total value: §d$price coins") } - add(Renderable.hoverTips("§6${stack.displayName}: §b$price", tips, highlightsOnHoverSlots = index, stack = stack)) + add( + Renderable.hoverTips( + "§6${stack.displayName}: §b$price", + tips, + highlightsOnHoverSlots = index, + stack = stack + ) + ) }) } val total = itemMap.values.fold(0.0) { acc, pair -> acc + pair.second }.formatPrice() |