mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-15 10:15:03 +01:00
call api to update when debug inputs change
This commit is contained in:
@@ -170,6 +170,7 @@ const ConstraintsSettings = ({
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
window.location.hash = decodeURIComponent(hash.toString());
|
window.location.hash = decodeURIComponent(hash.toString());
|
||||||
|
excalidrawAPI.setScrollConstraints(constraints);
|
||||||
}, [constraints]);
|
}, [constraints]);
|
||||||
|
|
||||||
const [selection, setSelection] = useState<ExcalidrawElement[]>([]);
|
const [selection, setSelection] = useState<ExcalidrawElement[]>([]);
|
||||||
|
|||||||
Reference in New Issue
Block a user