mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-11 08:00:21 +00:00
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:
11
src/stores/graphStore.ts
Normal file
11
src/stores/graphStore.ts
Normal 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
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user