feat: app launcher
This commit is contained in:
@@ -49,6 +49,12 @@ Item {
|
||||
});
|
||||
return true;
|
||||
}
|
||||
if (iconSources[selectedIndex] === "item.png") {
|
||||
ShellStateManager.openAppLauncher({
|
||||
source: "Topbar"
|
||||
});
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -84,7 +90,7 @@ Item {
|
||||
anchors.centerIn: parent
|
||||
selected: topbar.selectedIndex == repeatitem.index
|
||||
iconSource: topbar.iconSources[repeatitem.index]
|
||||
showSoul: !topbar.manager.quickSettingsOpen
|
||||
showSoul: !topbar.manager.quickSettingsOpen && !topbar.manager.appLauncherOpen
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
@@ -96,6 +102,11 @@ Item {
|
||||
source: "Topbar"
|
||||
});
|
||||
}
|
||||
if (topbar.iconSources[repeatitem.index] === "item.png") {
|
||||
ShellStateManager.openAppLauncher({
|
||||
source: "Topbar"
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user