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: maxWidth not being respected #32628

Merged
merged 1 commit into from Jan 26, 2022
Merged

fix: maxWidth not being respected #32628

merged 1 commit into from Jan 26, 2022

Conversation

nornagon
Copy link
Member

Description of Change

Fixes #32608.

#31982 changed this condition from |
to ||, which broke because || short-circuits but | does not.

Checklist

Release Notes

Notes: Fixed maxWidth not working in BrowserWindow constructor options.

@nornagon nornagon added semver/patch backwards-compatible bug fixes target/17-x-y labels Jan 25, 2022
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jan 25, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jan 26, 2022
@nornagon nornagon merged commit 16fcad3 into main Jan 26, 2022
@nornagon nornagon deleted the fix-maxwidth branch January 26, 2022 22:00
@release-clerk
Copy link

release-clerk bot commented Jan 26, 2022

Release Notes Persisted

Fixed maxWidth not working in BrowserWindow constructor options.

@trop
Copy link
Contributor

trop bot commented Jan 26, 2022

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

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
Development

Successfully merging this pull request may close these issues.

[Bug]: minWidth no longer working
4 participants