-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
feat: add win.getBackgroundColor() for macOS #21448
feat: add win.getBackgroundColor() for macOS #21448
Conversation
💖 Thanks for opening this pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
I have unintentionally added some code that tries (miserably) to get the backgroundColor on Linux and breaks the build for Linux. I will triangulate and remove that code and update the pull request to make it buildable on all platforms. |
@vbennich it looks like some git debris got left in there too - once that's removed and the checks are green just @ me and i'll give this a review. |
Seems like it passes all checks and it works for now. @codebytere please have a look at this, and thank you for your help :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good so far - just a few things to get this moving forward :)
I don't know why the electron test failed for win-ia32-testing-pr. Will try to commit for another build. The log where the error occurred:
|
@vbennich this looks like a flake and not a failure caused by your change; i'll rerun! |
Congrats on merging your first pull request! 🎉🎉🎉 |
Release Notes Persisted
|
Description of Change
Added a win.getBackgroundColor() to get the backgroundColor for a BrowserWindow in MacOS. The value could be set by win.setBackgroundColor(color), and it would be logical to have a getter. Inspired by #20203.
Checklist
npm test
passesRelease Notes
Notes: Added
win.getBackgroundColor()
forBrowserWindow
on macOS.