From b31bbf151c54dea2a432e0f7334aac8c27bbc6aa Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 9 Jun 2023 14:59:29 +0700 Subject: [PATCH] Fix text selection in text input panel --- .../mc/otm/client/screen/panels/input/TextInputPanel.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/input/TextInputPanel.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/input/TextInputPanel.kt index 234446ab2..7fccf017b 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/input/TextInputPanel.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/input/TextInputPanel.kt @@ -1156,6 +1156,7 @@ open class TextInputPanel( //RenderSystem.logicOp(GlStateManager.LogicOp.NOR) RenderSystem.disableDepthTest() RenderSystem.defaultBlendFunc() + RenderSystem.enableBlend() val builder = tesselator.builder