You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Restore working canvas dimension pattern in HomeView
Revert to the original working approach: create canvas → append to DOM
→ measure canvas.clientWidth/clientHeight. The getBoundingClientRect()
on the original bare canvas element returns 0×0 since it has no explicit
width/height HTML attributes. Measuring the appended canvas after CSS
is applied gives correct dimensions.
0 commit comments