chore: fix typos (#34731)
This commit is contained in:
parent
e5db178ab6
commit
98cd16d336
7 changed files with 7 additions and 8 deletions
|
@ -176,7 +176,7 @@ void NativeWindow::InitFromOptions(const gin_helper::Dictionary& options) {
|
|||
|
||||
// By default the window has a default maximum size that prevents it
|
||||
// from being resized larger than the screen, so we should only set this
|
||||
// if th user has passed in values.
|
||||
// if the user has passed in values.
|
||||
if (have_max_height || have_max_width || !max_size.IsEmpty())
|
||||
size_constraints.set_maximum_size(gfx::Size(max_width, max_height));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue