Group comfy core settings (#508)

* Add category overwrite

* Group settings
This commit is contained in:
Chenlei Hu
2024-08-18 12:49:23 -04:00
committed by GitHub
parent ec5f1152da
commit add2f9baa0
12 changed files with 47 additions and 10 deletions

View File

@@ -158,8 +158,10 @@ export class ComfyAppMenu {
let resizeHandler: () => void
this.menuPositionSetting = app.ui.settings.addSetting({
id: 'Comfy.UseNewMenu',
category: ['Comfy', 'Menu', 'UseNewMenu'],
defaultValue: 'Disabled',
name: '[Beta] Use new menu and workflow management. Note: On small screens the menu will always be at the top.',
name: '[Beta] Use new menu and workflow management.',
tooltip: 'On small screens the menu will always be at the top.',
type: 'combo',
options: ['Disabled', 'Top', 'Bottom'],
onChange: async (v: MenuPosition) => {