mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
Add side bar location in settings (left/right) (#396)
* Allow side bar on right side * Panel on the right
This commit is contained in:
@@ -81,6 +81,14 @@ export const useSettingStore = defineStore('setting', {
|
||||
options: Object.values(LinkReleaseTriggerMode),
|
||||
defaultValue: LinkReleaseTriggerMode.ALWAYS
|
||||
})
|
||||
|
||||
app.ui.settings.addSetting({
|
||||
id: 'Comfy.SideBar.Location',
|
||||
name: 'Sidebar location',
|
||||
type: 'combo',
|
||||
options: ['left', 'right'],
|
||||
defaultValue: 'left'
|
||||
})
|
||||
},
|
||||
|
||||
set(key: string, value: any) {
|
||||
|
||||
Reference in New Issue
Block a user