mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
niri: close spotlight when closing overview
This commit is contained in:
@@ -22,8 +22,10 @@ DankModal {
|
||||
|
||||
property bool spotlightOpen: false
|
||||
property alias spotlightContent: spotlightContentInstance
|
||||
property bool openedFromOverview: false
|
||||
|
||||
function show() {
|
||||
openedFromOverview = false
|
||||
spotlightOpen = true
|
||||
open()
|
||||
|
||||
@@ -55,6 +57,7 @@ DankModal {
|
||||
}
|
||||
|
||||
function hide() {
|
||||
openedFromOverview = false
|
||||
spotlightOpen = false
|
||||
close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user