Fix isHovered being true on out-of-bounds children
This commit is contained in:
parent
18334da499
commit
0c0182a65c
@ -288,6 +288,10 @@ open class EditablePanel @JvmOverloads constructor(
|
||||
|
||||
fun unsetHovered() {
|
||||
isHovered = false
|
||||
|
||||
for (child in children) {
|
||||
child.unsetHovered()
|
||||
}
|
||||
}
|
||||
|
||||
protected open fun onHovered() {}
|
||||
|
Loading…
Reference in New Issue
Block a user