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 #32939

Merged
merged 1 commit into from Feb 22, 2022
Merged

feat: add WCO height option #32939

merged 1 commit into from Feb 22, 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 17, 2022
@trop trop bot mentioned this pull request Feb 17, 2022
5 tasks
@trop trop bot added 17-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Feb 17, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Feb 17, 2022
@jkleinsc jkleinsc merged commit 2c28251 into 17-x-y Feb 22, 2022
@jkleinsc jkleinsc deleted the wco-height-option-add-17 branch February 22, 2022 19:30
@release-clerk
Copy link

release-clerk bot commented Feb 22, 2022

Release Notes Persisted

Added height option for Windows Control Overlay

@mlaurencin
Copy link
Contributor Author

/trop run backport-to 16-x-y,15-x-y,14-x-y

@trop
Copy link
Contributor

trop bot commented Feb 22, 2022

The backport process for this PR has been manually initiated - sending your PR to 16-x-y!

@trop
Copy link
Contributor

trop bot commented Feb 22, 2022

The backport process for this PR has been manually initiated - sending your PR to 15-x-y!

@trop
Copy link
Contributor

trop bot commented Feb 22, 2022

The backport process for this PR has been manually initiated - sending your PR to 14-x-y!

@trop
Copy link
Contributor

trop bot commented Feb 22, 2022

I was unable to backport this PR to "16-x-y" cleanly;
you will need to perform this backport manually.

@trop
Copy link
Contributor

trop bot commented Feb 22, 2022

I was unable to backport this PR to "15-x-y" cleanly;
you will need to perform this backport manually.

@trop
Copy link
Contributor

trop bot commented Feb 22, 2022

I was unable to backport this PR to "14-x-y" cleanly;
you will need to perform this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
17-x-y backport/requested 🗳 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

2 participants