Display panel's mouse cursor if it grabs mouse input
This commit is contained in:
parent
dbc793a592
commit
70ec49e546
@ -901,7 +901,7 @@ open class EditablePanel<out S : Screen> @JvmOverloads constructor(
|
||||
popScissorRect()
|
||||
}
|
||||
|
||||
if (isHovered) {
|
||||
if (isHovered || grabMouseInput) {
|
||||
cursorType.setTo()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user