More mobile overhauling

This commit is contained in:
space-nuko
2023-05-31 16:58:34 -05:00
parent 6f3275da00
commit d8ac97cb87
8 changed files with 85 additions and 30 deletions

View File

@@ -16,6 +16,8 @@ export type InterfaceState = {
selectedWorkflowID: WorkflowInstID | null
showingWorkflow: boolean
isDarkMode: boolean
}
type InterfaceStateOps = {
@@ -34,7 +36,9 @@ const store: Writable<InterfaceState> = writable(
isJumpingToNode: false,
selectedWorkflowID: null,
showingWorkflow: false
showingWorkflow: false,
isDarkMode: false,
})
const debounceDrag = debounce(() => { store.update(s => { s.showIndicator = false; return s }) }, 1000)