fix: persist BrowserView background color when bounds offscreen (#30510)
This commit is contained in:
parent
94111c9d5c
commit
fcce2b16d5
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ void InspectableWebContentsViewViews::SetTitle(const std::u16string& title) {
|
||||||
|
|
||||||
void InspectableWebContentsViewViews::Layout() {
|
void InspectableWebContentsViewViews::Layout() {
|
||||||
if (!devtools_web_view_->GetVisible()) {
|
if (!devtools_web_view_->GetVisible()) {
|
||||||
contents_web_view_->SetBoundsRect(GetContentsBounds());
|
contents_web_view_->SetBoundsRect(GetVisibleBounds());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue