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';
|
||||
|
||||
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> = {};
|
||||
|
||||
Reference in new issue
Block a user