feat(zoom): Allow zoomOnScroll & panOnScroll to be used without an activation key

* activation key is undefined by default, if undefined key is always "pressed"
This commit is contained in:
Braks
2022-03-14 14:10:38 +01:00
parent 9317f786b3
commit d948f5eef4
4 changed files with 15 additions and 19 deletions
@@ -31,7 +31,6 @@ const {
{ id: 'e1-2', source: '1', target: '2', animated: true },
{ id: 'e1-3', source: '1', target: '3' },
],
zoomActivationKeyCode: isWindows ? 'Shift' : 'Meta',
})
const captureZoomClick = ref(false)