mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
niri: don't rely on text field length for launching
This commit is contained in:
@@ -250,8 +250,8 @@ Scope {
|
||||
property var fakeParentModal: QtObject {
|
||||
property bool spotlightOpen: spotlightContainer.visible
|
||||
function hide() {
|
||||
if (spotlightContent.searchField.text.length > 0) {
|
||||
niriOverviewScope.hideSpotlight();
|
||||
if (niriOverviewScope.searchActive) {
|
||||
niriOverviewScope.hideAndReleaseKeyboard();
|
||||
return;
|
||||
}
|
||||
NiriService.toggleOverview();
|
||||
|
||||
Reference in New Issue
Block a user