Repository navigation
Fix - Invalidate image measure when DrawingImage source invalidates - #22028
Conversation
|
You can test this PR using the following package version. |
|
You can test this PR using the following package version. |
|
You can test this PR using the following package version. |
21eb982 to
bf3ef1a
Compare
|
You can test this PR using the following package version. |
|
You can test this PR using the following package version. |
|
You can test this PR using the following package version. |
…valoniaUI#22028) * invalidate image measure when IAffectsRender source invalidates * compare drawing image bounds when checking for measure invalidation * addressed nit * use dispatcher run overload in test * gate subscription behind attachment * fix typo * add one more attached check * nit if style
What does the pull request do?
This PR invalidates an image when an
IAffectsRendersource invalidates.What is the current behavior?
DrawingImagesources can change bounds when their geometry changes. Image assumes a fixed size for their sources, so when a drawing image invalidates, the image renders the new geometry with the old bounds.What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
Obsoletions / Deprecations
Fixed issues
Fixes #21869