Double click node title to trigger edit (#655)

* Update litegraph

* Double click edit node title

* Update

* Auto select all

* Update litegraph

* Add playwright test

* Update readme

* Update test expectations [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2024-08-27 11:38:39 -04:00
committed by GitHub
parent 6ab92f28db
commit 50b418113c
10 changed files with 218 additions and 6 deletions

View File

@@ -63,7 +63,8 @@ watch(
inputElement.setSelectionRange(start, end)
})
}
}
},
{ immediate: true }
)
const vFocus = {
mounted: (el: HTMLElement) => el.focus()