ImmediateRenderer set TransformedBounds.Clip to empty rect. #6073
Closed
workgroupengineering
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While developing a pr #4762 that takes a screenshot of the selected visual, I ran into a problem.
When using the following code
Avalonia/src/Avalonia.Diagnostics/Diagnostics/VisualExtensions.cs
Lines 57 to 61 in 6173eca
TransformedBounds.Clip is set to empty rect.
I have seen that the problem depends on the following lines:
see
Avalonia/src/Avalonia.Visuals/Rendering/ImmediateRenderer.cs
Lines 303 to 308 in 151a7a0
Is the behavior correct or is it a bug?
Beta Was this translation helpful? Give feedback.
All reactions