feat(nds): improve fullscreen button and add volume slider
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user