Closed rygwdn closed 9 years ago
Do you mean that sometimes the size of a window does not respect to the parameters to window.resize
?
It works fine when window.resizeTo
is called, but when it's not called the canvas gets stretched. It doesn't get called if the window is resized by the mouse but doesn't change the number of rows or columns. This happens pretty consistently for me if I drag the window corner, hold it for a moment, then let go - the window size changes by a few pixels between when I stopped trying to move the cursor and when I let go.
I tried your patch, which works fine. Thanks!
Fixes #8