diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/wardrobe/CustomWardrobe.kt | 6 |
1 files changed, 3 insertions, 3 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 d12e61d35..02494184d 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 @@ -78,14 +78,14 @@ object CustomWardrobe { } val (width, height) = renderable.width to renderable.height - val pos = Position((gui.width - width) / 2, (gui.height - height) / 2) + val pos = Position((gui.width - width) / 2, (gui.height - height) / 2).setIgnoreCustomScale(true) if (waitingForInventoryUpdate && config.loadingText) { val loadingRenderable = Renderable.string( "§cLoading...", scale = activeScale / 100.0, ) val loadingPos = - Position(pos.rawX + (width - loadingRenderable.width) / 2, pos.rawY - loadingRenderable.height) + Position(pos.rawX + (width - loadingRenderable.width) / 2, pos.rawY - loadingRenderable.height).setIgnoreCustomScale(true) loadingPos.renderRenderable(loadingRenderable, posLabel = guiName, addToGuiManager = false) } @@ -112,7 +112,7 @@ object CustomWardrobe { val accessorGui = gui as AccessorGuiContainer val posX = accessorGui.guiLeft + (1.05 * accessorGui.width).toInt() val posY = accessorGui.guiTop + (accessorGui.height - renderable.height) / 2 - Position(posX, posY).renderRenderable(renderable, posLabel = guiName, addToGuiManager = false) + Position(posX, posY).setIgnoreCustomScale(true).renderRenderable(renderable, posLabel = guiName, addToGuiManager = false) } @SubscribeEvent |