refactor pan/zoom behaviour, implement pan on scroll #359, edit interaction example

This commit is contained in:
Christopher Möller
2020-10-29 17:58:36 +01:00
parent 2280ed39af
commit d6a6eb82d8
6 changed files with 96 additions and 33 deletions
+4
View File
@@ -36,7 +36,9 @@ const FlowRenderer = ({
onMoveStart,
onMoveEnd,
selectionKeyCode,
elementsSelectable,
zoomOnScroll,
panOnScroll,
zoomOnDoubleClick,
paneMoveable,
defaultPosition,
@@ -61,7 +63,9 @@ const FlowRenderer = ({
onMoveStart,
onMoveEnd,
selectionKeyPressed,
elementsSelectable,
zoomOnScroll,
panOnScroll,
zoomOnDoubleClick,
paneMoveable,
defaultPosition,