webapis-playground
webapis-playground copied to clipboard
🐛 [Bug]: Drawing Canvas incorrect pointer movement and incorrect dawing area
Describe the bug Canvas Api bug -
- The drawing canvas does not use whole section to draw but only part of the whole.
- The draw pointer on drawing canvas is displaced from actual mouse pointer.
To Reproduce Steps to reproduce the behavior:
- Go to Canvas API page
- Click on Show Canvases button.
- Go to Drawing canvas section and try to draw in it.
- The canvas only uses 1/3 of space to draw and that is also not aligned with mouse pointer.
Expected behavior
- The whole Drawing canvas should be usable to draw.
- Mouse pointer and drawing pointer should be in sync and on same coordinates on screen.
Desktop
- OS: Windows 10
- Browser Chrome
- Version 106
Hey, can I work on this one? Sounds fun.
@permanar I have already written the fix, but waiting it to be assigned to me.