Skip to content

Conversation

dreampiggy
Copy link
Collaborator

This close the issue during the changes of #324

Also, the WebImage should use that Transaction during the image loading status changed

super.init(frame: frameRect)
addSubview(wrapped)
observation = observe(\.wrapped.image, options: [.new]) { observe, change in
self.invalidateIntrinsicContentSize()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have to use KVO to get notified when subview's content changes...No better idea

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use _, _ instead

@dreampiggy dreampiggy force-pushed the bugfix/transition_animatedImage branch from d7c7639 to d68c13a Compare July 1, 2024 11:45
@dreampiggy dreampiggy merged commit fc52658 into master Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant