1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-03 02:52:07 -04:00

Sync up Frame w/Master branch updates

This commit is contained in:
purian23
2026-04-28 01:47:23 -04:00
parent 3938dfd551
commit 75f8c5dec2
8 changed files with 58 additions and 76 deletions

View File

@@ -43,10 +43,10 @@ PanelWindow {
}
}
function triggerWallpaperBrowser() {
function triggerDashTab(tabIndex) {
dankDashPopoutLoader.active = true;
if (!dankDashPopoutLoader.item) {
return;
return false;
}
let section = "center";
@@ -82,7 +82,12 @@ PanelWindow {
dankDashPopoutLoader.item.triggerScreen = barWindow.screen;
}
PopoutManager.requestPopout(dankDashPopoutLoader.item, 2, (barConfig?.id ?? "default") + "-" + section + "-2");
PopoutManager.requestPopout(dankDashPopoutLoader.item, tabIndex, (barConfig?.id ?? "default") + "-" + section + "-" + tabIndex);
return true;
}
function triggerWallpaperBrowser() {
triggerDashTab(2);
}
readonly property var dBarLayer: {