Skip to content
Snippets Groups Projects
Unverified Commit 62265075 authored by trop[bot]'s avatar trop[bot] Committed by GitHub
Browse files

fix: aspect ratio when max width/height is set (#31956)


* fix: fix aspect ratio when max width/height is set

Add the native frame border size to the minimum and maximum size if
the view reports its size as the client size. It allows to enlarge
window to proper values when aspect ratio and max width/height are
set. It also fixes DCHECK which was triggered when user tried to
enlarge window above dimensions set during creation of the
BrowserWindow.

* chore: update patches

Co-authored-by: default avatarCezary Kulakowski <cezary@openfin.co>
Co-authored-by: default avatarJohn Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: default avatarPatchUp <73610968+patchup[bot]@users.noreply.github.com>
parent 098a118d
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment