Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions rivet/runtime/windows/src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2028,12 +2028,12 @@ unsafe fn sync_strip(window: HWND) {
unsafe fn relayout(window: HWND) {
// The frame view lays out again on request, which also works for a maximized window.
crate::features::vertical_tabs::invalidate_strip(window);
// The frame view lays its client view out again only when the client view's bounds change,
// and a new appbar width can leave them as they were while the page area must move. The
// browser view lays its page area out again here, whether or not the frame view's own layout
// is recorded, as on Brave and Whale the page otherwise waits for the next input.
crate::hooks::page_area::relayout(window);
if frame_layout::relayout(window) {
// The frame view lays its client view out again only when the client view's bounds
// change, and a new appbar width can leave them as they were while the page area must
// move. The browser view lays its page area out again here, as on Brave and Whale it
// otherwise waits for the next input.
crate::hooks::page_area::relayout(window);
if is_waiting(window) {
crate::trace::trace("attach: asked the frame view to lay out again");
}
Expand Down
Loading