Fix tickHover not accounting for own hover when returning if it has extended bounds
This commit is contained in:
parent
526e300d5b
commit
6c9d52040d
@ -456,7 +456,7 @@ open class EditablePanel<out S : Screen> @JvmOverloads constructor(
|
||||
mouseY >= absoluteY &&
|
||||
mouseY <= absoluteY + height
|
||||
|
||||
return hit
|
||||
return hit || isHovered
|
||||
}
|
||||
|
||||
isHovered =
|
||||
|
Loading…
Reference in New Issue
Block a user