mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
fix: NativeWindowViews::GetRestoredState() can return wrong state when maximized (#46450)
fix: NativeWindowViews::GetRestoredState() returning wrong state Introduced by theaf58931Chromium 131.0.6744.0 roll, specifically https://github.com/electron/electron/pull/43948/commits/9840662#diff-f9d7ef798406626
This commit is contained in:
@@ -1839,7 +1839,7 @@ ui::mojom::WindowShowState NativeWindowViews::GetRestoredState() {
|
||||
return ui::mojom::WindowShowState::kMaximized;
|
||||
}
|
||||
#else
|
||||
return ui::mojom::WindowShowState::kMinimized;
|
||||
return ui::mojom::WindowShowState::kMaximized;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user