From b89925e86b2aaf0e37c8a2fcfba2a6a442bc693f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sun, 18 Feb 2024 16:23:10 -0600 Subject: [PATCH] feat: removed night --- .../tankopedia/[id]/components/Lighting.tsx | 1 - .../components/Model/components/Options.tsx | 23 +++++++++---------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/app/tools/tankopedia/[id]/components/Lighting.tsx b/src/app/tools/tankopedia/[id]/components/Lighting.tsx index f6916a9f5..1cf7f6393 100644 --- a/src/app/tools/tankopedia/[id]/components/Lighting.tsx +++ b/src/app/tools/tankopedia/[id]/components/Lighting.tsx @@ -9,7 +9,6 @@ export const ENVIRONMENTS = [ 'warehouse', 'dawn', 'sunset', - 'night', ] as const; export function Lighting() { diff --git a/src/app/tools/tankopedia/[id]/components/Model/components/Options.tsx b/src/app/tools/tankopedia/[id]/components/Model/components/Options.tsx index 527f92a3f..2ea2ac0e1 100644 --- a/src/app/tools/tankopedia/[id]/components/Model/components/Options.tsx +++ b/src/app/tools/tankopedia/[id]/components/Model/components/Options.tsx @@ -72,17 +72,6 @@ export function Options({ isFullScreen, canvas }: OptionsProps) { - { - mutateTankopediaPersistent((draft) => { - draft.model.visual.showGrid = checked; - }); - }} - > - Show grid - - { @@ -94,6 +83,17 @@ export function Options({ isFullScreen, canvas }: OptionsProps) { Green penetration + { + mutateTankopediaPersistent((draft) => { + draft.model.visual.showGrid = checked; + }); + }} + > + Show grid + + { @@ -109,7 +109,6 @@ export function Options({ isFullScreen, canvas }: OptionsProps) { Lighting - Preset {ENVIRONMENTS.map((environment) => (