Skip to content

Conversation

dreampiggy
Copy link
Collaborator

in #34 this PR, the contentMode (aspectFill) is ignored, so sometimes, the AnimatedImage may not layout as expected compared to Image.

This PR fix that, using the correct behavior as Image (base on Documentation and real behavior).

Note that .fit && aspectRatio == nil on macOS may not work exact the same as SwiftUI.Image because of limitation of public API, other cases and platform as matched.

@dreampiggy dreampiggy merged commit e50a326 into master Oct 29, 2019
@dreampiggy dreampiggy deleted the fix_animated_image_scale_logic branch October 29, 2019 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant