Skip to content

Commit

Permalink
fix: persist BrowserView background color when bounds offscreen (#30540)
Browse files Browse the repository at this point in the history
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
  • Loading branch information
trop[bot] and codebytere committed Aug 18, 2021
1 parent 393045a commit f616c85
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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;
}

Expand Down

0 comments on commit f616c85

Please sign in to comment.