Add unified sidebar width setting (#3605)

Co-authored-by: Benjamin Lu <templu1107@proton.me>
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Benjamin Lu
2025-04-24 16:41:46 -04:00
committed by GitHub
parent 9c2300d780
commit ba3e2edb8a
10 changed files with 40 additions and 2 deletions

View File

@@ -88,6 +88,14 @@ export const CORE_SETTINGS: SettingParams[] = [
// Default to small if the window is less than 1536px(2xl) wide.
defaultValue: () => (window.innerWidth < 1536 ? 'small' : 'normal')
},
{
id: 'Comfy.Sidebar.UnifiedWidth',
category: ['Appearance', 'Sidebar', 'UnifiedWidth'],
name: 'Unified sidebar width',
type: 'boolean',
defaultValue: true,
versionAdded: '1.18.1'
},
{
id: 'Comfy.TextareaWidget.FontSize',
category: ['Appearance', 'Node Widget', 'TextareaWidget', 'FontSize'],