Skip to content

Conversation

@kekekeks
Copy link
Member

During migration from DeferredRenderer to the current composition engine, we've also fixed a bug with adorners being out of sync with adorned elements (off by one frame).

The fix was implemented by hardcoding adorners into the compositor and having a separate pass for them which made them sort of guaranteed to be in sync. However it is still a hack.

The original issue was caused by our layout pass not supporting changes being made during the same pass. Now that we've implemented MediaContext infra from WPF this is no longer a problem.

This PR moves adorner handling back to the UI thread.

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 12.0.999-cibuild0060961-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants