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

feat: add WCO height option #33064

Merged
merged 3 commits into from Feb 28, 2022
Merged

feat: add WCO height option #33064

merged 3 commits into from Feb 28, 2022

Conversation

mlaurencin
Copy link
Contributor

Backport of #31222

See that PR for details

Notes: Added height option for Windows Control Overlay

* feat: add WCO height option

* add docs and mac functionality

* add macOS functionality and height lowerbound

* Update docs/api/browser-window.md

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

* update macOS functionality

* add chromium related notes

* add test and fix pixel under button bug and fix typo

* revert changes to docs/api/frameless-window.md

* modify `useCustomHeight` calls

* update `useCustomHeight` and `getCurrentMargin`

* modify margin calculation

* fix minimum custom height on macOS

* Update window_buttons_proxy.mm

* fix specified traffic light positions

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Feb 23, 2022
@trop trop bot mentioned this pull request Feb 23, 2022
5 tasks
@trop trop bot added 15-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Feb 23, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Feb 23, 2022
@jkleinsc jkleinsc merged commit bd31023 into 15-x-y Feb 28, 2022
@jkleinsc jkleinsc deleted the wco-height-option-add-15 branch February 28, 2022 19:35
@release-clerk
Copy link

release-clerk bot commented Feb 28, 2022

Release Notes Persisted

Added height option for Windows Control Overlay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
15-x-y backport/approved ✅ backport This is a backport PR semver/minor backwards-compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants