feat(settings): animate buttons

This commit is contained in:
2026-02-10 14:03:40 +01:00
parent f8998206c1
commit d7783d881e
14 changed files with 85 additions and 23 deletions

View File

@@ -101,6 +101,7 @@ const handleCancel = async () => {
onCancel: () => {
state.value = "alive";
},
keepButtonsDown: (choice) => choice === "confirm",
});
break;
}
@@ -327,7 +328,7 @@ defineOptions({ render: () => null });
<template>
<CommonButtons
:y-offset="confirmationModal.buttonsYOffset"
:y-offset="confirmationModal.buttonsYOffset + store.submenuButtonsOffsetY"
:b-label="$t('common.quit')"
:a-label="state === 'waiting' ? $t('common.start') : $t('common.restart')"
@activate-b="handleCancel"