From b56fd91c3ecc61ccbe692a21e8eb0f378b4a90ca Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Mon, 10 Feb 2020 05:41:16 +0100 Subject: viewer: ldbreadcrumbs: implement horizontal scrolling This comes with a fix for the DragScroll component for mobile devices. GitHub: closes #101, closes #102 --- viewer/src/components/LdBreadcrumb.vue | 93 +++++++++++++++++++++++++++------- viewer/src/components/LdPicture.vue | 14 +++-- 2 files changed, 82 insertions(+), 25 deletions(-) (limited to 'viewer/src/components') diff --git a/viewer/src/components/LdBreadcrumb.vue b/viewer/src/components/LdBreadcrumb.vue index ebefc50..5f9695d 100644 --- a/viewer/src/components/LdBreadcrumb.vue +++ b/viewer/src/components/LdBreadcrumb.vue @@ -18,23 +18,62 @@ --> - - - - - {{item.title}} - - - - + dragScrollClickFix.onClickCapture(e)" + @dragscrollstart="dragScrollClickFix.onDragScrollStart()" + @dragscrollend="dragScrollClickFix.onDragScrollEnd()" + @dragscrollmove="checkForOverflowMask" + > + + + + + + + {{item.title}} + + + + -- cgit v1.2.3