chore: add patch info for setAspectRatio (#20920)
This commit is contained in:
parent
0fe718b1d9
commit
1fed1ed577
1 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,13 @@ From: Erick Zhao <erickzhao@github.com>
|
|||
Date: Thu, 1 Aug 2019 13:40:17 -0700
|
||||
Subject: feat: unset window aspect ratio on linux
|
||||
|
||||
Electron has exposed methods to allow setting the aspect ratio
|
||||
for a given window, and as a part of that needed to allow users to
|
||||
reset the aspect ratio. On macOS, we can do this with existing APIs,
|
||||
but on Linux this was not possible using currently exposed APIs without
|
||||
this patch.
|
||||
|
||||
Upstreamed at https://chromium-review.googlesource.com/c/chromium/src/+/1895789.
|
||||
|
||||
diff --git a/ui/base/x/x11_window.cc b/ui/base/x/x11_window.cc
|
||||
index 7df0a3a8ed268e9b2ca1bad8ac5fd35115b98f77..a895defd2b695e2d5b2b4324551adcaac487f588 100644
|
||||
|
|
Loading…
Reference in a new issue