Several changes, fix messy behaviour for PillIndicator, fix System Settings size, fix logout button

This commit is contained in:
Ly-sec 2025-08-01 16:58:54 +02:00
parent 8c2df56fb5
commit 7e52df59bc
8 changed files with 81 additions and 37 deletions

View file

@ -180,5 +180,30 @@ Item {
if (showPill) {
hideAnim.start();
}
// Stop the show timer if it's running
showTimer.stop();
}
function showDelayed() {
if (!showPill) {
shouldAnimateHide = autoHide;
// Add a 500ms delay before showing
showTimer.start();
} else {
// Reset hide timer if already shown
hideAnim.stop();
delayedHideAnim.restart();
}
}
// Timer for delayed show
Timer {
id: showTimer
interval: 500 // 500ms delay
onTriggered: {
if (!showPill) {
showAnim.start();
}
}
}
}