Display panel's mouse cursor if it grabs mouse input

This commit is contained in:
DBotThePony 2024-01-04 18:58:09 +07:00
parent dbc793a592
commit 70ec49e546
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -901,7 +901,7 @@ open class EditablePanel<out S : Screen> @JvmOverloads constructor(
popScissorRect()
}
if (isHovered) {
if (isHovered || grabMouseInput) {
cursorType.setTo()
}
}