From 592cfa405fb9e35d6efd384d37bae424c88cacd4 Mon Sep 17 00:00:00 2001 From: Tom Boullay Date: Thu, 14 May 2026 00:17:53 +0200 Subject: [PATCH] feat: add graphics settings hook --- src/hooks/world/useGraphicsSettings.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/hooks/world/useGraphicsSettings.ts b/src/hooks/world/useGraphicsSettings.ts index 1c03cbb..8cbb2b0 100644 --- a/src/hooks/world/useGraphicsSettings.ts +++ b/src/hooks/world/useGraphicsSettings.ts @@ -6,7 +6,7 @@ export function useGraphicsSettings(): GraphicsState { } export function useSetGraphicsSettings(): ( - graphics: Partial + graphics: Partial, ) => void { return useWorldSettingsStore((state) => state.setGraphics); } @@ -33,19 +33,19 @@ export function useGrassDensity(): number { export function useGraphicsSetters() { const setDynamicGrass = useWorldSettingsStore( - (state) => state.setDynamicGrass + (state) => state.setDynamicGrass, ); const setDynamicTrees = useWorldSettingsStore( - (state) => state.setDynamicTrees + (state) => state.setDynamicTrees, ); const setDynamicClouds = useWorldSettingsStore( - (state) => state.setDynamicClouds + (state) => state.setDynamicClouds, ); const setShadowsEnabled = useWorldSettingsStore( - (state) => state.setShadowsEnabled + (state) => state.setShadowsEnabled, ); const setGrassDensity = useWorldSettingsStore( - (state) => state.setGrassDensity + (state) => state.setGrassDensity, ); return {