Fix tickHover not accounting for own hover when returning if it has extended bounds

This commit is contained in:
DBotThePony 2022-09-09 20:09:32 +07:00
parent 526e300d5b
commit 6c9d52040d
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -456,7 +456,7 @@ open class EditablePanel<out S : Screen> @JvmOverloads constructor(
mouseY >= absoluteY && mouseY >= absoluteY &&
mouseY <= absoluteY + height mouseY <= absoluteY + height
return hit return hit || isHovered
} }
isHovered = isHovered =