fix: win.isMaximized()
for transparent windows on Windows (#38234)
This commit is contained in:
parent
9902e01d2c
commit
ad07712561
2 changed files with 19 additions and 1 deletions
|
@ -656,7 +656,7 @@ bool NativeWindowViews::IsMaximized() {
|
|||
return true;
|
||||
} else {
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
if (transparent()) {
|
||||
if (transparent() && !IsMinimized()) {
|
||||
// Compare the size of the window with the size of the display
|
||||
auto display = display::Screen::GetScreen()->GetDisplayNearestWindow(
|
||||
GetNativeWindow());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue