This commit is contained in:
Timothy Jaeryang Baek
2026-08-13 15:49:50 -06:00
parent 52c5e3b20d
commit ec9bf5a64f
@@ -3,10 +3,11 @@
import panzoom, { type PanZoom, type PanZoomOptions } from 'panzoom';
const defaultOpts: PanZoomOptions = {
bounds: true,
boundsPadding: 0.1,
zoomSpeed: 0.065
};
bounds: true,
boundsPadding: 0.1,
zoomSpeed: 0.085,
pinchSpeed: 2.25
};
export let className = '';
export let options: Partial<PanZoomOptions> = {};