refac
This commit is contained in:
@@ -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