Migrate settings dialog to Vue (#335)

* Basic setting dialog

* Add custom setting value render

* handle combo options

* Add input slider

* 100% width for select dropdown
This commit is contained in:
Chenlei Hu
2024-08-07 14:01:43 -04:00
committed by GitHub
parent eb1c66c90a
commit 02d7f91e9e
7 changed files with 217 additions and 5 deletions

View File

@@ -185,6 +185,9 @@ export class ComfySettingsDialog extends ComfyDialog<HTMLDialogElement> {
}
this.settingsParamLookup[id] = params
if (this.app.vueAppReady) {
useSettingStore().settings[id] = params
}
this.settingsLookup[id] = {
id,
onChange,