Skip to content

Commit

Permalink
chore: fix View painting when origin updated
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jun 15, 2022
1 parent 4c7c0b4 commit 1153cef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shell/browser/native_browser_view_views.cc
Expand Up @@ -128,6 +128,9 @@ void NativeBrowserViewViews::SetBounds(const gfx::Rect& bounds) {
auto* view = iwc_view->GetView();
view->SetBoundsRect(bounds);
ResetAutoResizeProportions();

view->InvalidateLayout();
view->SchedulePaint();
}

gfx::Rect NativeBrowserViewViews::GetBounds() {
Expand Down

0 comments on commit 1153cef

Please sign in to comment.