Skip to content

Commit

Permalink
fix: GuiManager scales z-axis by 0
Browse files Browse the repository at this point in the history
  • Loading branch information
My-Name-Is-Jeff committed Feb 4, 2024
1 parent 29933da commit 55530b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/gg/skytils/skytilsmod/core/GuiManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ object GuiManager : PersistentSave(File(Skytils.modDir, "guipositions.json")) {
try {
GlStateManager.pushMatrix()
GlStateManager.translate(element.scaleX, element.scaleY, 0f)
GlStateManager.scale(element.scale, element.scale, 0f)
GlStateManager.scale(element.scale, element.scale, 1f)
element.render()
GlStateManager.popMatrix()
} catch (ex: Exception) {
Expand Down

0 comments on commit 55530b5

Please sign in to comment.