Make images smaller using best-in-class codecs, right in the browser.
JavaScript
Mark private function as private
Jake Archibalde4e130c5d6bf
diff --git a/src/components/Output/custom-els/PinchZoom/index.ts b/src/components/Output/custom-els/PinchZoom/index.tsindex 1e50fe13..48f1a033 100644--- a/src/components/Output/custom-els/PinchZoom/index.ts+++ b/src/components/Output/custom-els/PinchZoom/index.ts@@ -242,7 +242,7 @@ export default class PinchZoom extends HTMLElement {/*** Update transform values without checking bounds. This is only called in setTransform.*/- _updateTransform(scale: number, x: number, y: number, allowChangeEvent: boolean) {+ private _updateTransform(scale: number, x: number, y: number, allowChangeEvent: boolean) {// Avoid scaling to zeroif (scale < MIN_SCALE) return;