-
Michael Natterer authored
Simply check the transfomred coords against the canvas extents and the untransformed against the image contents instead of using untransform_viewport(). The code is easier to read now, and untransform_viewport() is still broken and can't really be implemented properly when the canvas is rotated.
62c5a737