mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: persist BrowserView background color when bounds offscreen (#30540)
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
@@ -215,7 +215,7 @@ void InspectableWebContentsViewViews::SetTitle(const std::u16string& title) {
|
||||
|
||||
void InspectableWebContentsViewViews::Layout() {
|
||||
if (!devtools_web_view_->GetVisible()) {
|
||||
contents_web_view_->SetBoundsRect(GetContentsBounds());
|
||||
contents_web_view_->SetBoundsRect(GetVisibleBounds());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user