Skip to content

Commit c85e642

Browse files
authored
Fix canvas aspect desync between frame and draw surface (#40)
Remove local content size shadowing so aspect changes update the shared content dimensions used by both bounds rendering and composite drawing. This keeps the visual frame and actual drawable area aligned.
1 parent 40b1879 commit c85e642

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

celstomp/celstomp-app.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
}
2020

2121
ready(() => {
22-
let contentW = 960;
23-
let contentH = 540;
24-
2522
const stageEl = $("stage");
2623

2724
function ensureChild(parent, el) {

0 commit comments

Comments
 (0)