Skip to content

Commit

Permalink
preventing click from propagating to the background
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Jul 10, 2024
1 parent d6d1769 commit 9f46109
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/qml/components/MMSingleClickMouseArea.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ MouseArea {
signal singleClicked()

onClicked: {
if ( !root.enabled ) return;
if ( !root.enabled ) {
mouse.accepted = true;
return;
}

root.enabled = false;
singleClicked()
Expand Down

1 comment on commit 9f46109

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.7.640211 just submitted!

Please sign in to comment.