aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 07:44:30 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 07:44:30 +0100
commitffba85d9022b95cc5b44f927b6ea7399aee365e7 (patch)
tree55547cd5fab21f4f2be916db5e5261440208e653 /src/main
parente7f3e850c9cf5ddf0f4d93a25c92d3e45a279bf6 (diff)
downloadskyhanni-ffba85d9022b95cc5b44f927b6ea7399aee365e7.tar.gz
skyhanni-ffba85d9022b95cc5b44f927b6ea7399aee365e7.tar.bz2
skyhanni-ffba85d9022b95cc5b44f927b6ea7399aee365e7.zip
Better Brewing Stand Overlay design.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/BrewingStandOverlay.kt9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/BrewingStandOverlay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/BrewingStandOverlay.kt
index 6496e3d4c..5557309a2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/BrewingStandOverlay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/BrewingStandOverlay.kt
@@ -18,7 +18,8 @@ class BrewingStandOverlay {
val stack = event.stack
val name = stack.name ?: return
- when (event.slot.slotNumber) {
+ val slotNumber = event.slot.slotNumber
+ when (slotNumber) {
13, // Ingredient input
21, // Progress
42, // Output right side
@@ -28,11 +29,15 @@ class BrewingStandOverlay {
else -> return
}
+ if (slotNumber == 21) {
+ event.offsetX = 55
+ }
+
// Hide the progress slot when not active
if (name.contains(" or ")) return
event.stackTip = name
- event.offsetX = 3
+ event.offsetX = event.offsetX + 3
event.offsetY = -5
event.alignLeft = false
}