feat(confetti): spawn small amount when an achievement is unlocked

This commit is contained in:
2026-01-31 20:49:23 +01:00
parent 41c3238b3b
commit df3a78560b
2 changed files with 11 additions and 6 deletions

View File

@@ -62,6 +62,8 @@ export const useAchievementsStore = defineStore("achievements", () => {
if (storage.value.unlocked.length === ACHIEVEMENTS.length) {
confetti.spawn();
} else {
confetti.spawn(50, 350);
}
return true;