call api to update when debug inputs change

This commit is contained in:
Ryan Di 2025-04-14 17:22:23 +10:00
parent 782772cec5
commit df26487936

View file

@ -170,6 +170,7 @@ const ConstraintsSettings = ({
),
);
window.location.hash = decodeURIComponent(hash.toString());
excalidrawAPI.setScrollConstraints(constraints);
}, [constraints]);
const [selection, setSelection] = useState<ExcalidrawElement[]>([]);