Organize setting display for new settings dialog (#507)

This commit is contained in:
Chenlei Hu
2024-08-18 11:31:50 -04:00
committed by GitHub
parent 17aa44d9f6
commit ec5f1152da
4 changed files with 5 additions and 16 deletions

View File

@@ -1,4 +1,3 @@
import { lightenColor } from '@/utils/colorUtil'
import { app } from '../../scripts/app'
import { $el } from '../../scripts/ui'
import type { ColorPalettes, Palette } from '@/types/colorPalette'
@@ -749,12 +748,6 @@ app.registerExtension({
) as HTMLSelectElement
return $el('tr', [
$el('td', [
$el('label', {
for: id.replaceAll('.', '-'),
textContent: 'Color palette'
})
]),
$el('td', [
els.select,
$el(

View File

@@ -662,9 +662,7 @@ app.registerExtension({
init() {
useConversionSubmenusSetting = app.ui.settings.addSetting({
id: 'Comfy.NodeInputConversionSubmenus',
name: 'Node widget/input conversion sub-menus',
tooltip:
'In the node context menu, place the entries that convert between input/widget in sub-menus.',
name: 'In the node context menu, place the entries that convert between input/widget in sub-menus.',
type: 'boolean',
defaultValue: true
})