-
Notifications
You must be signed in to change notification settings - Fork 252
Open
Description
When ever the image is zoomed with the scaleFactor > 1f, parts of the right side begins to get cut off because the right side bound being reached.
if (x + w > size.x)
x = size.x - w;
if (y + h > size.y)
y = size.y - h;
if the scalefactor < 1f in the above code, the bounds are being cut off way too early because w is greater than w/scalefactor
however if we change the piece of code to include the scalefactors the viewport becomes unstable
Is there a way to fix the size of the viewport so that when the viewport gets smaller and smaller we are still able to show the right side?
Metadata
Metadata
Assignees
Labels
No labels