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

@@ -7,7 +7,6 @@ const achievements = useAchievementsStore();
const confirmationModal = useConfirmationModal();
const { onRender, onClick } = useScreen();
const { assets } = useAssets();
const BAR_HEIGHT = 24;
const MAX_RADIUS = 27;
@@ -276,8 +275,6 @@ onClick((mx, my) => {
});
onRender((ctx) => {
assets.images.home.topScreen.background.draw(ctx, 0, 0);
// update crosshair position in all modes except paused
if (state.value !== "paused") {
if (horizontalFirst) {