From 0cb6662d5cdb9394d33e2842743c90aff49bac8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20Mo=CC=88ller?= Date: Mon, 2 Nov 2020 12:51:48 +0100 Subject: [PATCH] show default zoom behaviour in interaction example --- example/src/Interaction/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/src/Interaction/index.js b/example/src/Interaction/index.js index ba2f11fa..d560b347 100644 --- a/example/src/Interaction/index.js +++ b/example/src/Interaction/index.js @@ -25,8 +25,8 @@ const InteractionFlow = () => { const [isSelectable, setIsSelectable] = useState(false); const [isDraggable, setIsDraggable] = useState(false); const [isConnectable, setIsConnectable] = useState(false); - const [zoomOnScroll, setZoomOnScroll] = useState(false); - const [panOnScroll, setPanOnScroll] = useState(true); + const [zoomOnScroll, setZoomOnScroll] = useState(true); + const [panOnScroll, setPanOnScroll] = useState(false); const [zoomOnDoubleClick, setZoomOnDoubleClick] = useState(false); const [paneMoveable, setPaneMoveable] = useState(true); const [captureZoomClick, setCaptureZoomClick] = useState(false);