1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 07:52: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) onViewModeSelected: Prefs.setAppLauncherViewMode(mode)
} }
// Background dim with click to close // Background click to close (no visual background)
Rectangle { MouseArea {
anchors.fill: parent anchors.fill: parent
color: Qt.rgba(0, 0, 0, 0.3) enabled: appDrawerPopout.isVisible
opacity: appDrawerPopout.isVisible ? 1 : 0 onClicked: appDrawerPopout.hide()
visible: appDrawerPopout.isVisible
MouseArea {
anchors.fill: parent
enabled: appDrawerPopout.isVisible
onClicked: appDrawerPopout.hide()
}
Behavior on opacity {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
}
} }
Component { Component {