From c530ef7d0f220c59af8b07ef2523b08a94d0a139 Mon Sep 17 00:00:00 2001 From: dv4mp1r3 Date: Mon, 14 Mar 2022 20:18:29 +0300 Subject: [PATCH] added doubleClick to default options --- src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.ts b/src/index.ts index c9d17ec..18cd01e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -66,6 +66,10 @@ const DEFAULT_OPTIONS: Options = { keyEvent: KeyEvent.SHIFT, orientation: PanOrientation.HORIZONTAL }, + doubleClick: { + isActive: true, + keyEvent: KeyEvent.MAIN, + }, }, scroll: { zoom: {