Group selected nodes by Ctrl + g (#663)

* Ctrl + g to group selected noes

* Add playwright test

* nit

* Move button loc

* Update test expectations [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2024-08-28 11:49:41 -04:00
committed by GitHub
parent 5c2cb00cd6
commit 2c174b5956
9 changed files with 58 additions and 6 deletions

View File

@@ -241,6 +241,17 @@ export const useSettingStore = defineStore('setting', {
type: 'hidden',
defaultValue: ['.safetensors', '.sft']
})
app.ui.settings.addSetting({
id: 'Comfy.GroupSelectedNodes.Padding',
name: 'Group selected nodes padding',
type: 'slider',
defaultValue: 10,
attrs: {
min: 0,
max: 100
}
})
},
set<K extends keyof Settings>(key: K, value: Settings[K]) {