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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user