Browse Source

Dashboard - fix touch layout

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
pull/28767/head
szaimen 5 years ago
committed by szaimen (Rebase PR Action)
parent
commit
cabe36c0ab
  1. 4
      apps/dashboard/js/dashboard.js
  2. 2
      apps/dashboard/js/dashboard.js.map
  3. 2
      apps/dashboard/src/App.vue

4
apps/dashboard/js/dashboard.js
File diff suppressed because it is too large
View File

2
apps/dashboard/js/dashboard.js.map
File diff suppressed because it is too large
View File

2
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">

Loading…
Cancel
Save