1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-29 22:42:11 -04:00

ui: cleanup some anti patterns

This commit is contained in:
bbedward
2026-06-29 12:39:56 -04:00
parent f293def3a8
commit 50570023ff
6 changed files with 113 additions and 109 deletions
@@ -1538,15 +1538,11 @@ BasePill {
}
}
function closeWithAction() {
close();
}
Timer {
id: pendingActionCloseTimer
interval: 80
repeat: false
onTriggered: menuRoot.closeWithAction()
onTriggered: menuRoot.close()
}
function showSubMenu(entry) {
@@ -1906,7 +1902,7 @@ BasePill {
} else {
SessionData.hideTrayId(itemKey);
}
menuRoot.closeWithAction();
menuRoot.close();
}
}
}