From c72b88e983f41ab7e45a45c0707d6766ed73d368 Mon Sep 17 00:00:00 2001 From: Tamas Besenyei Date: Thu, 8 Sep 2022 16:25:19 +0200 Subject: [PATCH] chore: lint fix --- src/plugins/tools/zoom.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/tools/zoom.js b/src/plugins/tools/zoom.js index 14bc7b21..9dfe3309 100644 --- a/src/plugins/tools/zoom.js +++ b/src/plugins/tools/zoom.js @@ -120,7 +120,7 @@ export default pluginFactory({ 'zoom', true ); - } + }; /** * Is zoom activated ? if not, then we hide the plugin @@ -132,7 +132,7 @@ export default pluginFactory({ } else { this.hide(); } - } + }; const zoomAction = dir => { const inc = increment * dir; @@ -165,19 +165,19 @@ export default pluginFactory({ this.$container.scrollLeft(sx).scrollTop(sy); } - } + }; const zoomIn = () => { if (this.getState('enabled') !== false) { zoomAction(1); } - } + }; const zoomOut = () => { if (this.getState('enabled') !== false) { zoomAction(-1); } - } + }; /** * Reapplys the same zoom level to the target