mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 07:52:50 -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 var fakeParentModal: QtObject {
|
||||||
property bool spotlightOpen: spotlightContainer.visible
|
property bool spotlightOpen: spotlightContainer.visible
|
||||||
function hide() {
|
function hide() {
|
||||||
if (spotlightContent.searchField.text.length > 0) {
|
if (niriOverviewScope.searchActive) {
|
||||||
niriOverviewScope.hideSpotlight();
|
niriOverviewScope.hideAndReleaseKeyboard();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
NiriService.toggleOverview();
|
NiriService.toggleOverview();
|
||||||
|
|||||||
Reference in New Issue
Block a user