Add edge dragging, autofocus on inputs and limit neighbor distance lookup during snap fetching

This commit is contained in:
2025-02-13 19:41:19 +01:00
parent 939b9cbd28
commit 6abc467a43
7 changed files with 108 additions and 22 deletions

7
plugins/autofocus.ts Normal file
View File

@@ -0,0 +1,7 @@
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.directive('autofocus', {
mounted(el, binding) {
el.focus();
}
})
})