feat(settings): animate buttons
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user