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: setRepresentedFilename
with non-default titlebarStyle
#34834
Conversation
setRepresentedFilename
with non-default titlebarStyle
Release Notes Persisted
|
I have automatically backported this PR to "18-x-y", please check out #34847 |
I have automatically backported this PR to "19-x-y", please check out #34848 |
I have automatically backported this PR to "20-x-y", please check out #34849 |
…ron#34834) fix: setRepresentedFilename with non-default titlebarStyle
…ron#34834) fix: setRepresentedFilename with non-default titlebarStyle
Description of Change
Closes #34822.
Fixes an issue where calling
BrowserWindow.setRepresentedFilename
on macOS withtitlebarStyle: 'hiddenInset'
ortitlebarStyle: 'hidden'
inadvertently moves the traffic light location. Fix this by ensuring the traffic lights are redrawn according to the currenttitleBarStyle
whenrepresentedFilename
value is changed.Tested with https://gist.github.com/9ad043673ca425c92bbb4e1f951c455c
Checklist
npm test
passesRelease Notes
Notes: Fixed an issue where calling
BrowserWindow.setRepresentedFilename
on macOS withtitlebarStyle: 'hiddenInset'
ortitlebarStyle: 'hidden'
inadvertently moves the traffic light location.