mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-10 03:27:57 +00:00
refac
This commit is contained in:
parent
52c5e3b20d
commit
ec9bf5a64f
1 changed files with 5 additions and 4 deletions
|
|
@ -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> = {};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue