feat(nds): improve fullscreen button and add volume slider

This commit is contained in:
2026-02-25 17:09:41 +01:00
parent 8c45f831a9
commit a50af98f9a
6 changed files with 91 additions and 52 deletions

View File

@@ -24,6 +24,7 @@ const settingsSchema = z.object({
row: z.number(),
}),
renderingMode: z.enum(["3d", "2d"]),
volume: z.number(),
});
type Settings = z.infer<typeof settingsSchema>;
@@ -31,6 +32,7 @@ type Settings = z.infer<typeof settingsSchema>;
const defaultSettings = (): Settings => ({
color: { col: 0, row: 0 },
renderingMode: "3d",
volume: 0.5,
});
export const useAppStore = defineStore("app", {