ScaleType.Fit breaks when flipping image over X axis

It is possible to flip an image over the X or Y axis by setting ImageRectSize to a negative value and ImageRectOffset appropriately. However, when an image is flipped over the X axis with ScaleType.Fit, the image will no longer respect the bounding width (AbsoluteSize.X < AbsoluteSize.Y).

I’ve included a video to demonstrate:

Expected behavior

I expect the image to fit the frame visually, regardless of whether the sizes include negative values or not.

4 Likes

Thanks for the report! I filed a ticket in our internal database and we’ll follow up when we have an update for you.

1 Like

I’m having the same issue! My images get weirdly resized when flipping them via ImageRectOffset and ImageRectSize

2 Likes