mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
call api to update when debug inputs change
This commit is contained in:
parent
782772cec5
commit
df26487936
1 changed files with 1 additions and 0 deletions
|
@ -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[]>([]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue