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 <aj3621@tobii.com>
  • Loading branch information
2 people authored and bavulapati committed Apr 29, 2022
1 parent 1e1a53d commit dc9db24
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 dc9db24

Please sign in to comment.