feat(settings): menu navigation (unanimated)

This commit is contained in:
2025-11-25 00:58:29 +01:00
parent ab2c6f2cc3
commit 9ca86caf46
26 changed files with 258 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
<script setup lang="ts">
import MENU_IMAGE from "/assets/images/settings/top-screen/touch_screen/touch_screen.webp";
const props = defineProps<{
x: number;
y: number;
}>();
const [menuImage] = useImages(MENU_IMAGE);
useRender((ctx) => {
ctx.drawImage(menuImage!, props.x, props.y);
});
defineOptions({
render: () => null,
});
</script>