summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-03 14:49:22 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-03 14:49:22 +0900
commit001969efaf5c747d78192563d3b3bd09c3cf23e9 (patch)
treeda0855839201015bf8f233ad2a3a3672c1381ee6 /src
parentFix #4834 (diff)
downloadsharkey-001969efaf5c747d78192563d3b3bd09c3cf23e9.tar.gz
sharkey-001969efaf5c747d78192563d3b3bd09c3cf23e9.tar.bz2
sharkey-001969efaf5c747d78192563d3b3bd09c3cf23e9.zip
Improve usability
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/components/page-editor/page-editor.blocks.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/page-editor/page-editor.blocks.vue b/src/client/app/common/views/components/page-editor/page-editor.blocks.vue
index 894feb34cc..266b6d6b21 100644
--- a/src/client/app/common/views/components/page-editor/page-editor.blocks.vue
+++ b/src/client/app/common/views/components/page-editor/page-editor.blocks.vue
@@ -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>