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
Describe the bug
The height of the canvas element produced by the clip() method is always 1 less than it should be.
To Reproduce
Steps to reproduce the behavior:
Have a ratio of "1", "2", or something equally simple.
When clipping, clip to something simple using width, I've picked "100"
Console debug the result of the clip function, and take note of the canvas size
Expected behavior
I expect the width and height to be the same when I have a ratio of "1". Likewise, when having an ratio of 2, I expect the height to be half the width.