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

fix: draggable regions updating on bounds change #34582

Merged
merged 1 commit into from Jun 17, 2022

Conversation

codebytere
Copy link
Member

Description of Change

Closes #34552.

Fixes an issue where draggable regions were not recalculated when BrowserView bounds changed. This was happening because we didn't issue a call to UpdateDraggableRegions after bounds changed on Windows, as we do on macOS:

UpdateDraggableRegions(draggable_regions_);

Checklist

Release Notes

Notes: Fixed an issue where draggable regions were not recalculated when BrowserView bounds changed on Windows.

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/18-x-y labels Jun 15, 2022
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jun 15, 2022
@codebytere codebytere requested a review from zcbenz June 16, 2022 10:25
@codebytere codebytere force-pushed the draggable-regions-move-windows branch from c23201d to f01c720 Compare June 16, 2022 10:25
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jun 16, 2022
@codebytere codebytere merged commit 20538c4 into main Jun 17, 2022
@codebytere codebytere deleted the draggable-regions-move-windows branch June 17, 2022 10:01
@release-clerk
Copy link

release-clerk bot commented Jun 17, 2022

Release Notes Persisted

Fixed an issue where draggable regions were not recalculated when BrowserView bounds changed on Windows.

@trop
Copy link
Contributor

trop bot commented Jun 17, 2022

I have automatically backported this PR to "18-x-y", please check out #34610

@trop
Copy link
Contributor

trop bot commented Jun 17, 2022

I have automatically backported this PR to "19-x-y", please check out #34611

@trop
Copy link
Contributor

trop bot commented Jun 17, 2022

I have automatically backported this PR to "20-x-y", please check out #34612

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: -webkit-app-region not recalculated when BrowserView bounds changed
2 participants