]> _ Git - fluidbook-html5.git/commitdiff
done #1366 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 21 Apr 2017 17:46:53 +0000 (19:46 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 21 Apr 2017 17:46:53 +0000 (19:46 +0200)
js/libs/fluidbook/fluidbook.desktop.js
style/fluidbook.css
style/fluidbook.less

index 8892433a88585b47a5b8af782247f7c36933ff1d..a103666fc96d00152e067f4f8ee08e2eb1450d0b 100644 (file)
@@ -11,7 +11,7 @@ FluidbookDesktop.prototype = {
         $(document).on('click', '#links', function (e) {
             $this.clickZoom(e);
         });
-        $(document).on('click', '#links .link', function (e) {
+        $(document).on('click', '#links .link:not(.eventOverlayLink)', function (e) {
             e.stopPropagation();
         })
 
index ee5c8f8f20072dbdae19bb84792dd0a783c08353..0321dc722faa37779303fc118155a6a35f009319 100644 (file)
@@ -161,6 +161,9 @@ a {
 #links .link {
   cursor: auto;
 }
+#links .link.eventOverlayLink {
+  cursor: inherit;
+}
 .link {
   -webkit-transform-origin: 0 0 0;
   -moz-transform-origin: 0 0 0;
@@ -600,11 +603,16 @@ header.hidden,
 #links .link {
   position: absolute;
   cursor: auto;
+  z-index: 3;
+}
+#links .link.eventOverlayLink {
   z-index: 2;
 }
 .link.multimedia {
   position: absolute;
   z-index: 1 !important;
+  -ms-touch-action: manipulation;
+  touch-action: manipulation;
 }
 .link.multimedia.notinteractive {
   pointer-events: none;
index ad09abcb7e54e24cfdb345dbeb51de34701672b8..e1c67b2e48d874f25d50e3e7ee0b4b62a8cd5417 100644 (file)
@@ -183,6 +183,9 @@ a {
 
 #links .link {
        cursor: auto;
+       &.eventOverlayLink {
+               cursor: inherit;
+       }
 }
 
 .link {
@@ -692,12 +695,18 @@ footer.hidden, header.hidden, #interface.hidden {
 #links .link {
        position: absolute;
        cursor: auto;
-       z-index: 2;
+       z-index: 3;
+       &.eventOverlayLink {
+               z-index: 2;
+       }
 }
 
 .link.multimedia {
        position: absolute;
        z-index: 1 !important;
+       -ms-touch-action: manipulation;
+       touch-action: manipulation;
+
        &.notinteractive {
                pointer-events: none;
        }