mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-26 22:43:03 +00:00
Improve usability
This commit is contained in:
parent
55e6cae240
commit
001969efaf
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<x-draggable tag="div" :list="blocks" handle=".drag-handle" :group="{ name: 'blocks' }" animation="150">
|
||||
<x-draggable tag="div" :list="blocks" handle=".drag-handle" :group="{ name: 'blocks' }" animation="150" swap-threshold="0.5">
|
||||
<component v-for="block in blocks" :is="'x-' + block.type" :value="block" @input="updateItem" @remove="removeItem" :key="block.id" :ai-script="aiScript"/>
|
||||
</x-draggable>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue