[Refactor] Move Comfy.WidgetControlMode to coreSettings (#2078)

This commit is contained in:
Chenlei Hu
2024-12-27 21:06:23 -05:00
committed by GitHub
parent 74361eebe0
commit feabd3f11d
4 changed files with 38 additions and 41 deletions

View File

@@ -1,9 +1,5 @@
// @ts-strict-ignore
import {
type ComfyWidgetConstructor,
ComfyWidgets,
initWidgets
} from './widgets'
import { type ComfyWidgetConstructor, ComfyWidgets } from './widgets'
import { ComfyUI, $el } from './ui'
import { api, type ComfyApi } from './api'
import { defaultGraph } from './defaultGraph'
@@ -1048,7 +1044,6 @@ export class ComfyApp {
await useExtensionService().invokeExtensionsAsync('init')
await this.registerNodes()
initWidgets(this)
// Load previous workflow
let restored = false