Skip to content

Fix rendering problems in AvaloniaUI#3517

Merged
swharden merged 5 commits intoScottPlot:mainfrom
chjrom:main
Mar 22, 2024
Merged

Fix rendering problems in AvaloniaUI#3517
swharden merged 5 commits intoScottPlot:mainfrom
chjrom:main

Conversation

@chjrom
Copy link
Contributor

@chjrom chjrom commented Mar 20, 2024

This reverts commit dc0c4b3.
I think the issue occurs because the methods Canvas.Restore are called multiple times.

Fix #3516, #3502.

@swharden swharden linked an issue Mar 22, 2024 that may be closed by this pull request
@swharden
Copy link
Member

Thanks for this fix @chjrom!

I don't recall why that was added, but I'll go ahead and merge this in and keep an eye out for any unexpected behavior. It makes sense that any action that enables clipping should manage it within the action, disabling it before returning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AvaloniaUI: Wrong rendering Rendering problems in AvaloniaUI

2 participants