refac
This commit is contained in:
1 parent
52c5e3b20d
commit
ec9bf5a64f
1 file changed
+5
-4
@@ -3,10 +3,11 @@
|
|||||||
import panzoom, { type PanZoom, type PanZoomOptions } from 'panzoom';
|
import panzoom, { type PanZoom, type PanZoomOptions } from 'panzoom';
|
||||||
|
|
||||||
const defaultOpts: PanZoomOptions = {
|
const defaultOpts: PanZoomOptions = {
|
||||||
bounds: true,
|
bounds: true,
|
||||||
boundsPadding: 0.1,
|
boundsPadding: 0.1,
|
||||||
zoomSpeed: 0.065
|
zoomSpeed: 0.085,
|
||||||
};
|
pinchSpeed: 2.25
|
||||||
|
};
|
||||||
|
|
||||||
export let className = '';
|
export let className = '';
|
||||||
export let options: Partial<PanZoomOptions> = {};
|
export let options: Partial<PanZoomOptions> = {};
|
||||||
|
|||||||
Reference in new issue
Block a user