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: documentEdited with non-default titlebarStyle #30565

Merged
merged 1 commit into from Aug 18, 2021

Conversation

codebytere
Copy link
Member

Description of Change

Closes #30564.

Fixes an issue where toggling documentEdited status on macOS with titlebarStyle: 'hiddenInset' inadvertently moves the traffic light location. Fix this by ensuring the traffic lights are redrawn according to the current titleBarStyle when documentEdited status is changed.

Tested with https://gist.github.com/166ffcd98c950e6e97fec05ae4f2683b.

Checklist

Release Notes

Notes: Fixed an issue where toggling documentEdited status on macOS with titlebarStyle: 'hiddenInset' inadvertently moves the traffic light location.

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/13-x-y labels Aug 17, 2021
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 17, 2021
@codebytere codebytere changed the title fix: documentEdited with titlebarStyle: 'hidden' fix: documentEdited with non-default titlebarStyle Aug 17, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Aug 18, 2021
@MarshallOfSound MarshallOfSound merged commit ec13a0b into main Aug 18, 2021
@MarshallOfSound MarshallOfSound deleted the fix-documentedited-traffic-lights branch August 18, 2021 19:09
@release-clerk
Copy link

release-clerk bot commented Aug 18, 2021

Release Notes Persisted

Fixed an issue where toggling documentEdited status on macOS with titlebarStyle: 'hiddenInset' inadvertently moves the traffic light location.

@trop
Copy link
Contributor

trop bot commented Aug 18, 2021

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

@trop
Copy link
Contributor

trop bot commented Aug 18, 2021

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

@trop trop bot removed the target/13-x-y label Aug 18, 2021
@trop
Copy link
Contributor

trop bot commented Aug 18, 2021

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

BlackHole1 pushed a commit to BlackHole1/electron that referenced this pull request Aug 30, 2021
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
3 participants