Skip to content

Commit

Permalink
fix: persist BrowserView background color when bounds offscreen (#30541)
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 16, 2021
1 parent fbe3922 commit 99af7e3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -213,7 +213,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 99af7e3

Please sign in to comment.