aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
index 0191b497d..102013758 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt
@@ -640,7 +640,7 @@ object RenderUtils {
renderable.render(0, 0)
}
GlStateManager.popMatrix()
- if (addToGuiManager) GuiEditManager.add(this, posLabel, renderable.width, 0)
+ if (addToGuiManager) GuiEditManager.add(this, posLabel, renderable.width, renderable.height)
}
/** This function is discouraged to be used. Please use renderRenderables with List<Renderable> instead with horizontal container.*/