Skip to content

Commit

Permalink
canvas size bug fix for window resize
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsboost committed Sep 9, 2024
1 parent be7f1cd commit 9d7951a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/dist/App.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/dist/App.min.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion app/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9340,6 +9340,9 @@ document.addEventListener('DOMContentLoaded', function() {
} else {
App.render('#app');
}
window.onresize = App.render('#app');
window.onresize = () => {
App.render('#app');
getIframeClientSize();
}
};
});

0 comments on commit 9d7951a

Please sign in to comment.