TheMonsterFromTheDeep / vague

Java-based image editor
0 stars 0 forks source link

High zoom causes large canvas growth #16

Open TheMonsterFromTheDeep opened 8 years ago

TheMonsterFromTheDeep commented 8 years ago

When the zoom is very high, drawing anything causes large canvas growth because of number rounding problems. I'm not really sure what to do to fix it, because the program right now uses really big numbers basically everywhere for offsets and other things.

To duplicate: Draw in the down-right direction to expand the canvas down and right. Zoom in as far as possible to the bottom-right corner and draw.