Skip to content

fix: drag region offsets in BrowserViews #28268

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

Merged
merged 1 commit into from
Mar 19, 2021
Merged

Conversation

codebytere
Copy link
Member

Description of Change

Closes #28228.

Our y-axis offset calculation was slightly off - this corrects that.

Tested with https://gist.github.com/c138020abbb7d949608c3c11b1cad253 and also with https://gist.github.com/08f3e56e0a4dc443621bd769e18c7cd6 to ensure no regressions.

Checklist

Release Notes

Notes: Fixed an issue where the drag regions in BrowserViews on macOS could be off in their y-axis.

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/10-x-y labels Mar 18, 2021
@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Mar 18, 2021
@codebytere codebytere requested a review from nornagon March 18, 2021 20:31
Copy link
Contributor

@nornagon nornagon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

surprising that this wasn't fixed sooner :o

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Mar 19, 2021
@codebytere
Copy link
Member Author

Test failures not related.

@codebytere codebytere merged commit 79bcb88 into master Mar 19, 2021
@release-clerk
Copy link

release-clerk bot commented Mar 19, 2021

Release Notes Persisted

Fixed an issue where the drag regions in BrowserViews on macOS could be off in their y-axis.

@trop
Copy link
Contributor

trop bot commented Mar 19, 2021

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

@trop
Copy link
Contributor

trop bot commented Mar 19, 2021

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

@trop
Copy link
Contributor

trop bot commented Mar 19, 2021

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

@trop trop bot removed the target/12-x-y label Mar 19, 2021
@trop
Copy link
Contributor

trop bot commented Mar 19, 2021

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

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]: BrowserView still has a hidden dragging area while y is non-zero
3 participants