I got some complicated feedback on the initial load of an image in the image editor.
If the image is thinner than the canvas width, keep zoom at 100% and center the image. If the image is wider than the canvas, set the image width to 100% canvas width and adjust the zoom value accordingly.
I got some complicated feedback on the initial load of an image in the image editor.
If the image is thinner than the canvas width, keep zoom at 100% and center the image. If the image is wider than the canvas, set the image width to 100% canvas width and adjust the zoom value accordingly.