From 71eb3023b2fd267db44fc5d11c4fb6814b4206a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arno=C5=A1t=20Pleskot?= Date: Mon, 10 Jul 2023 19:59:48 +0200 Subject: [PATCH] [debug] --- src/excalidraw-app/index.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/excalidraw-app/index.tsx b/src/excalidraw-app/index.tsx index 860437f3c1..c13815f3ce 100644 --- a/src/excalidraw-app/index.tsx +++ b/src/excalidraw-app/index.tsx @@ -696,6 +696,13 @@ const ExcalidrawWrapper = () => { /> ); }} + scrollConstraints={{ + x: 0, + y: 0, + width: 2560, + height: 1300, + opts: { lockZoom: true, viewportZoomFactor: 0.1 }, + }} >