]> _ Git - fluidbook-html5.git/commitdiff
wip #5158 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 1 Apr 2022 16:29:39 +0000 (18:29 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 1 Apr 2022 16:29:39 +0000 (18:29 +0200)
js/libs/fluidbook/fluidbook.desktop.js
js/libs/fluidbook/fluidbook.zoom.js

index 77bb4c25d6387839fe10d3de8fc8b2e9e41e476d..79a49a56300d819fdbaa4f234f5fda57dd4bff06 100644 (file)
@@ -17,7 +17,7 @@ FluidbookDesktop.prototype = {
         });
         $(document).on('click', '#links', function (e) {
             if (
-                $this.fluidbook.settings.clickZoom &&
+                $this.fluidbook.settings.clickZoom !== false &&
                 $this.fluidbook.zoom.enabled &&
                 $this.fluidbook.input.isUsingMouse() &&
                 !$this.fluidbook.hasDraggableOnPage()
index 6b9b371aad950f8d1dd5ba505c30bc6a29cf96a4..20630ebb6de866a5ea1c9cfe3b86622a186994da 100644 (file)
@@ -19,7 +19,7 @@ FluidbookZoom.prototype = {
             this.disable();
             return;
         }
-        if (!this.fluidbook.settings.clickZoom) {
+        if (this.fluidbook.settings.clickZoom === false) {
             this.disableZoomCursor();
         }