Fix settings derp and app start project theme loading (#3320)

* Fix settings opening and messing up everything

* Set settings aggressively for startup project theme loading

* fmt

---------

Co-authored-by: Lee <lee@Lees-Mac-mini.local>
This commit is contained in:
49fl
2024-08-07 20:44:33 -04:00
committed by GitHub
parent 6f4bbdb79e
commit ca28a5f549
2 changed files with 3 additions and 1 deletions

View File

@ -105,6 +105,8 @@ export function useSetupEngineManager(
}, [immediateState])
useEffect(() => {
engineCommandManager.settings.theme = settings.theme
const handleResize = deferExecution(() => {
const { width, height } = getDimensions(
streamRef?.current?.offsetWidth ?? 0,