mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-03-24 22:59:25 +00:00
WaterBlock tiling to match T2/Torque, improve CLAUDE.md
This commit is contained in:
parent
bcf4f4a1a5
commit
aeda3ca8d5
940 changed files with 1207 additions and 337 deletions
|
|
@ -3,6 +3,7 @@ import {
|
|||
ReactNode,
|
||||
useContext,
|
||||
useEffect,
|
||||
useLayoutEffect,
|
||||
useMemo,
|
||||
useRef,
|
||||
useState,
|
||||
|
|
@ -95,7 +96,7 @@ export function SettingsProvider({ children }: { children: ReactNode }) {
|
|||
);
|
||||
|
||||
// Read persisted settings from localStorage.
|
||||
useEffect(() => {
|
||||
useLayoutEffect(() => {
|
||||
let savedSettings: PersistedSettings = {};
|
||||
try {
|
||||
savedSettings = JSON.parse(localStorage.getItem("settings")) || {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue