From d42974072b1853d4b333959c7f02dd63f2ca077b Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 9 Sep 2022 17:17:40 +0700 Subject: [PATCH] Rollback rounding change --- .../ru/dbotthepony/mc/otm/client/screen/panels/EditablePanel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/EditablePanel.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/EditablePanel.kt index 2ac0ec5a2..9269549fa 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/EditablePanel.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/EditablePanel.kt @@ -418,7 +418,7 @@ open class EditablePanel @JvmOverloads constructor( } poseStack.pushPose() - poseStack.translate(absoluteX.roundToInt().toDouble(), absoluteY.roundToInt().toDouble(), accumulatedDepth.toDouble()) + poseStack.translate(absoluteX.toDouble(), absoluteY.toDouble(), accumulatedDepth.toDouble()) innerRender(poseStack, mouseX, mouseY, partialTick) poseStack.popPose()