Skip to content

Commit

Permalink
fix: persist BrowserView content bounds when calculating layout
Browse files Browse the repository at this point in the history
Reverting change introduced in PR: #30510
  • Loading branch information
Andreas Johansson authored and electron-bot committed Mar 23, 2022
1 parent 68292f0 commit 8991ac3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -214,7 +214,7 @@ void InspectableWebContentsViewViews::SetTitle(const std::u16string& title) {

void InspectableWebContentsViewViews::Layout() {
if (!devtools_web_view_->GetVisible()) {
contents_web_view_->SetBoundsRect(GetVisibleBounds());
contents_web_view_->SetBoundsRect(GetContentsBounds());
return;
}

Expand Down

0 comments on commit 8991ac3

Please sign in to comment.