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 cedc7b00c..88c229296 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 @@ -288,6 +288,10 @@ open class EditablePanel @JvmOverloads constructor( fun unsetHovered() { isHovered = false + + for (child in children) { + child.unsetHovered() + } } protected open fun onHovered() {}