Skip to content

Commit

Permalink
masonry: recompose instead of relayout Portal on scrollbar drag
Browse files Browse the repository at this point in the history
Regression probably caused in 59ee615 /
ff7635e.
  • Loading branch information
tomcur committed Aug 29, 2024
1 parent ac95f25 commit 8d2c758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion masonry/src/widget/portal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ impl<W: Widget> Widget for Portal<W> {
}

if scrollbar_moved {
ctx.request_layout();
ctx.request_compose();
}
}

Expand Down

0 comments on commit 8d2c758

Please sign in to comment.