mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 09:23:17 +02:00
CHeck containsMouse property for mouse area instead on hovered
This commit is contained in:
parent
b190fac4f1
commit
083b52abaf
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
onHoveredChanged: {
|
||||
if (hovered) {
|
||||
onContainsMouseChanged: {
|
||||
if (containsMouse) {
|
||||
tabletInterface.playSound(TabletEnums.ButtonHover)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue