1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

launcher + dock menu improvements

This commit is contained in:
bbedward
2025-10-06 17:46:19 -04:00
parent b507b08e34
commit 7c5d1ec0f6
8 changed files with 162 additions and 183 deletions

View File

@@ -13,8 +13,13 @@ Item {
property alias searchField: searchField
property var parentModal: null
function resetScroll() {
resultsView.resetScroll()
}
anchors.fill: parent
focus: true
clip: false
Keys.onPressed: event => {
if (event.key === Qt.Key_Escape) {
if (parentModal)
@@ -101,6 +106,7 @@ Item {
anchors.fill: parent
anchors.margins: Theme.spacingM
spacing: Theme.spacingM
clip: false
Rectangle {
width: parent.width
@@ -228,6 +234,7 @@ Item {
}
SpotlightResults {
id: resultsView
appLauncher: spotlightKeyHandler.appLauncher
contextMenu: contextMenu
}
@@ -245,7 +252,7 @@ Item {
visible: contextMenu.visible
z: 999
onClicked: () => {
contextMenu.close()
contextMenu.hide()
}
MouseArea {