Skip to content

Commit

Permalink
fix: persist BrowserView content bounds when calculating layout (elec…
Browse files Browse the repository at this point in the history
…tron#32747)

Reverting change introduced in PR: electron#30510

Co-authored-by: Andreas Johansson <[email protected]>
  • Loading branch information
andreasdj and Andreas Johansson authored Mar 23, 2022
1 parent 800b96f commit 3744ac0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 3744ac0

Please sign in to comment.