C2: dismiss state machine, animation guard prevents double-dismiss

This commit is contained in:
Damocles 2026-04-13 16:57:38 +02:00
parent 88d8842064
commit 176f8a1871
2 changed files with 10 additions and 0 deletions

View file

@ -242,7 +242,11 @@ PanelWindow {
property bool _fullDismiss: false
function animateDismiss(full) {
if (popupItem.modelData.state === "dismissing")
return;
popupItem.modelData.beginDismiss();
_fullDismiss = !!full;
slideIn.stop();
slideOut.start();
}