1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

appdrawer: remove background effect

This commit is contained in:
bbedward
2025-07-23 15:37:53 -04:00
parent 94b10159a9
commit 2c57487046

View File

@@ -65,27 +65,11 @@ PanelWindow {
onViewModeSelected: Prefs.setAppLauncherViewMode(mode)
}
// Background dim with click to close
Rectangle {
// Background click to close (no visual background)
MouseArea {
anchors.fill: parent
color: Qt.rgba(0, 0, 0, 0.3)
opacity: appDrawerPopout.isVisible ? 1 : 0
visible: appDrawerPopout.isVisible
MouseArea {
anchors.fill: parent
enabled: appDrawerPopout.isVisible
onClicked: appDrawerPopout.hide()
}
Behavior on opacity {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
}
enabled: appDrawerPopout.isVisible
onClicked: appDrawerPopout.hide()
}
Component {