fix(qt): wheel-lock sweep across plain-Item modal overlays
Plain-Item overlays get no modal grab, so a MouseArea that swallows presses still lets the wheel scroll the page underneath (the rule and its wording live in DiscoverConfigModal.qml). Every scrim and panel swallow across the modal set now accepts the wheel; the modal Popups (TrackInfo, CastPicker, AlbumInfo, QconnectDev, LocalMediaInfo) already had the Overlay grab, and CoverLightbox — a non-modal Popup — gets its own. cc
This commit is contained in:
23 files changed
+190
-28
No files matched your search
@@ -117,7 +117,12 @@ Item {
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "#bf000000"
|
||||
MouseArea { anchors.fill: parent; onClicked: QbzLocal.ripWizardClose() }
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: QbzLocal.ripWizardClose()
|
||||
// Wheel-lock (the DiscoverConfigModal rule).
|
||||
onWheel: function (wheel) { wheel.accepted = true }
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
@@ -131,7 +136,11 @@ Item {
|
||||
border.color: theme.borderSubtle
|
||||
clip: true
|
||||
|
||||
MouseArea { anchors.fill: parent }
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
// Wheel-lock (the DiscoverConfigModal rule).
|
||||
onWheel: function (wheel) { wheel.accepted = true }
|
||||
}
|
||||
|
||||
// ---- Header + step dots ----------------------------------------
|
||||
Item {
|
||||
|
||||
Reference in new issue
Block a user