fix(ui): fix canvas not filling screen on first load

This commit is contained in:
psychedelicious
2023-06-09 17:55:11 +10:00
parent 813f79f0f9
commit 68be95acbb
3 changed files with 18 additions and 4 deletions

View File

@ -55,8 +55,6 @@ const UnifiedCanvasContent = () => {
});
useLayoutEffect(() => {
dispatch(requestCanvasRescale());
const resizeCallback = () => {
dispatch(requestCanvasRescale());
};