feat(settings): animate transition to submenu (background and sliding)

This commit is contained in:
2026-02-09 17:00:16 +01:00
parent c96f323317
commit 6a0a0baaaa
12 changed files with 198 additions and 52 deletions

View File

@@ -3,8 +3,6 @@ import { SettingsBottomScreenNumberInput as NumberInput } from "#components";
import { useIntervalFn } from "@vueuse/core";
const store = useSettingsStore();
const { assets } = useAssets();
const { onRender } = useScreen();
const now = ref(new Date());
@@ -53,10 +51,6 @@ const handleConfirm = async () => {
store.closeSubMenu();
};
onRender((ctx) => {
assets.images.home.topScreen.background.draw(ctx, 0, 0);
});
defineOptions({ render: () => null });
</script>