feat(buttonNavigation): customize selector animation

This commit is contained in:
2026-01-19 00:21:04 +01:00
parent d4377094b4
commit 425195cf5f
5 changed files with 22 additions and 4 deletions

View File

@@ -47,6 +47,10 @@ const { selected, selectorPosition } = useButtonNavigation({
actionateButton(button);
},
disabled: computed(() => store.isIntro || store.isOutro),
selectorAnimation: {
duration: 0.25,
ease: "power2.out",
},
});
const actionateButton = async (button: (typeof selected)["value"]) => {