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: aspect ratio when max width/height is set #29101

Merged
merged 1 commit into from Nov 22, 2021

Commits on Nov 18, 2021

  1. 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.
    CezaryKulakowski committed Nov 18, 2021
    Configuration menu
    Copy the full SHA
    0b0394d View commit details
    Browse the repository at this point in the history