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