docs: document intentional propagateComposedEvents: true on right-click MouseArea
This commit is contained in:
parent
1b7d3a3b7e
commit
0083fe7dc2
1 changed files with 4 additions and 0 deletions
|
|
@ -311,6 +311,10 @@ PluginComponent {
|
|||
}
|
||||
}
|
||||
|
||||
// propagateComposedEvents: true so that right-clicks both trigger our context menu
|
||||
// *and* bubble to any parent MouseArea (e.g. for shell-level drag handling).
|
||||
// Documented because the default (false) is far more common and this choice
|
||||
// frequently surprises future maintainers.
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.RightButton
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue