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

force osx shadow invalidation on programatic resize. #5971

Merged
merged 4 commits into from
May 28, 2021

Conversation

danwalmsley
Copy link
Member

@danwalmsley danwalmsley commented May 24, 2021

What does the pull request do?

Fixes the incorrect shadow calculation on OSX

What is the current behavior?

Shadow sometimes does not show correctly

What is the updated/expected behavior with this PR?

Works

How was the solution implemented (if it's not obvious)?

Set the size of the Content Container before we set the size of the window frame.

This makes cocoa do the correct calculation.

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@danwalmsley danwalmsley merged commit a7dc3fb into master May 28, 2021
@danwalmsley danwalmsley deleted the fixes/osx-shadow-invalidation branch May 28, 2021 15:17
danwalmsley pushed a commit that referenced this pull request Jun 4, 2021
force osx shadow invalidation on programatic resize.
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.

None yet

2 participants