Skip to content

Commit

Permalink
UpdateVisibleWidgets() also update resizing ones
Browse files Browse the repository at this point in the history
Fix the resizing widget displaying with head lock

Signed-off-by: Songlin Jiang <[email protected]>
  • Loading branch information
HollowMan6 committed Dec 10, 2023
1 parent affcaad commit 9f366f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/cpp/BrowserWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ BrowserWorld::UpdateVisibleWidgets() {
});

for (const WidgetPtr& widget: widgets) {
if (widget->IsVisible() && !widget->IsResizing()) {
if (widget->IsVisible()) {
UpdateWidget(widget->GetHandle(), widget->GetPlacement());
}
}
Expand Down

0 comments on commit 9f366f9

Please sign in to comment.