Edit group name on group creation (With Ctrl + g) (#715)

* Editor store

* Merge editors

* nit

* Edit on group creation

* nit
This commit is contained in:
Chenlei Hu
2024-09-02 20:20:40 -04:00
committed by GitHub
parent 4ad1e67ebf
commit 4a230f720e
7 changed files with 184 additions and 209 deletions

11
src/stores/graphStore.ts Normal file
View File

@@ -0,0 +1,11 @@
import { LGraphNode, LGraphGroup } from '@comfyorg/litegraph'
import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useTitleEditorStore = defineStore('titleEditor', () => {
const titleEditorTarget = ref<LGraphNode | LGraphGroup | null>(null)
return {
titleEditorTarget
}
})