More mobile overhauling
This commit is contained in:
@@ -34,7 +34,8 @@ function notifyf7(text: string, options: NotifyOptions) {
|
||||
text: text,
|
||||
closeOnClick: true,
|
||||
closeTimeout,
|
||||
on
|
||||
on,
|
||||
icon: options.imageUrl
|
||||
});
|
||||
notification.open();
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user