From 6ea1edd358a159c652623c61586b497bef53d6e8 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 27 Jan 2023 11:46:15 +0700 Subject: [PATCH] Kill mouse grab when killing focus --- .../ru/dbotthepony/mc/otm/client/screen/panels/EditablePanel.kt | 2 ++ 1 file changed, 2 insertions(+) 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 789d77c3b..b7f42f508 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 @@ -1125,6 +1125,8 @@ open class EditablePanel @JvmOverloads constructor( killFocusInternal() findAbsoluteRoot().updateFocus() } + + grabMouseInput = false } fun findHierarchicalFocus(): EditablePanel<*>? {