Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

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 khalwa committed Feb 22, 2023
1 parent ca2ce9e commit 5994a8c
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 5994a8c

Please sign in to comment.