mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 01:37:26 +00:00
Mark private function as private
This commit is contained in:
@@ -242,7 +242,7 @@ export default class PinchZoom extends HTMLElement {
|
|||||||
/**
|
/**
|
||||||
* Update transform values without checking bounds. This is only called in setTransform.
|
* 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 zero
|
// Avoid scaling to zero
|
||||||
if (scale < MIN_SCALE) return;
|
if (scale < MIN_SCALE) return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user