diff options
author | szaimen <szaimen@e.mail.de> | 2021-09-09 11:54:13 +0200 |
---|---|---|
committer | szaimen (Rebase PR Action) <szaimen@e.mail.de> | 2021-09-09 14:59:09 +0000 |
commit | cabe36c0abea04cab04017735b977fe06ac8a2af (patch) | |
tree | 8c4837240bacc7fc72a26058562890320efc0134 /apps/dashboard/src | |
parent | 9be939300ae0e426d9818756f83f6f09733307fe (diff) | |
download | nextcloud-server-cabe36c0abea04cab04017735b977fe06ac8a2af.tar.gz nextcloud-server-cabe36c0abea04cab04017735b977fe06ac8a2af.zip |
Dashboard - fix touch layout
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/dashboard/src')
-rw-r--r-- | apps/dashboard/src/App.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue index 0c59452997c..d98f1ec1133 100644 --- a/apps/dashboard/src/App.vue +++ b/apps/dashboard/src/App.vue @@ -11,6 +11,7 @@ <Draggable v-model="layout" class="panels" + v-bind="{swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}" handle=".panel--header" @end="saveLayout"> <div v-for="panelId in layout" :key="panels[panelId].id" class="panel"> @@ -51,6 +52,7 @@ <Draggable v-model="layout" class="panels" tag="ol" + v-bind="{swapThreshold: 0.30, delay: 500, delayOnTouchOnly: true, touchStartThreshold: 3}" handle=".draggable" @end="saveLayout"> <li v-for="panel in sortedPanels" :key="panel.id"> |