diff --git a/excalidraw-app/App.tsx b/excalidraw-app/App.tsx index 503fc7450..c6e05e286 100644 --- a/excalidraw-app/App.tsx +++ b/excalidraw-app/App.tsx @@ -170,6 +170,7 @@ const ConstraintsSettings = ({ ), ); window.location.hash = decodeURIComponent(hash.toString()); + excalidrawAPI.setScrollConstraints(constraints); }, [constraints]); const [selection, setSelection] = useState([]);