Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Add AutoresizingMask to WindowOverlay GraphicsView #3804

Merged
merged 3 commits into from
Jan 10, 2022

Conversation

drasticactions
Copy link
Contributor

2021-12-18.12.04.35.mov

When setting up the graphics view for the WindowOverlay, we need to also set the AutoresizingMask flag to make sure that the view gets updated frame constraints. Otherwise, it will only get the initial constraint when the view is created.

This only affects people using the WindowOverlay with their own drawn elements, the default Adorners get the view positions from where the elements are located, which ignores the default "dirtyRect" to get its calculations.

@drasticactions drasticactions enabled auto-merge (squash) January 7, 2022 23:36
@drasticactions drasticactions merged commit 2b71d7a into dotnet:main Jan 10, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants