Files
ComfyUI_frontend/src/stores/graphStore.ts
Chenlei Hu 4a230f720e Edit group name on group creation (With Ctrl + g) (#715)
* Editor store

* Merge editors

* nit

* Edit on group creation

* nit
2024-09-02 20:20:40 -04:00

12 lines
307 B
TypeScript

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
}
})