1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

welcome: make the first page stuff clickable

fixes #1295
This commit is contained in:
bbedward
2026-01-07 21:22:15 -05:00
parent a5e107c89d
commit ccc7047be0
5 changed files with 45 additions and 6 deletions

View File

@@ -34,15 +34,19 @@ FloatingWindow {
}
function showWithTab(tabIndex: int) {
if (tabIndex >= 0)
if (tabIndex >= 0) {
currentTabIndex = tabIndex;
sidebar.autoExpandForTab(tabIndex);
}
visible = true;
}
function showWithTabName(tabName: string) {
var idx = sidebar.resolveTabIndex(tabName);
if (idx >= 0)
if (idx >= 0) {
currentTabIndex = idx;
sidebar.autoExpandForTab(idx);
}
visible = true;
}