You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A (much more breaking) alternative that might be worth considering here is removing pixel rounding from AspectRatio. I'd argue we're being a little too magical today with the rounding, since it's not clear whether your resulting size will be wider/taller than the intended aspect ratio with rounding applied. It would be nice to make any applied rounding more explicit, e.g.
aspectRatio.size(forWidth:...).ceiledToPixel()
or
aspectRatio.size(forWidth:...).flooredToPixel()
The text was updated successfully, but these errors were encountered:
See #140 for original motivation:
or
The text was updated successfully, but these errors were encountered: