Several changes, fix messy behaviour for PillIndicator, fix System Settings size, fix logout button
This commit is contained in:
parent
8c2df56fb5
commit
7e52df59bc
8 changed files with 81 additions and 37 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue