From: Vincent Vanwaelscappel Date: Fri, 1 Apr 2022 16:26:28 +0000 (+0200) Subject: wip #5158 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=02f9c8abf8ff511afa8083ac78e9bd9602a9be9c;p=fluidbook-html5.git wip #5158 @0:10 --- diff --git a/js/libs/fluidbook/fluidbook.zoom.js b/js/libs/fluidbook/fluidbook.zoom.js index 66bc77d5..6b9b371a 100644 --- a/js/libs/fluidbook/fluidbook.zoom.js +++ b/js/libs/fluidbook/fluidbook.zoom.js @@ -38,7 +38,7 @@ FluidbookZoom.prototype = { $(document).on(this.fluidbook.input.clickEvent, '.icon-zoomin', function (e) { if ($this.fluidbook.settings.zoomMouseMoveMode !== 'dragndrop') { $this.fluidbook.desktop.moveZoom(e, true); - } else { + } else if ($this.zoom === 1) { $this.fluidbook.zoom.setOriginPct(0.5, 0.5, true); } $this.fluidbook.zoom.zoomInFromMenu();