From 8d2c7587f39491362cfb581310c3784459f9c2ac Mon Sep 17 00:00:00 2001 From: Thomas Churchman Date: Thu, 29 Aug 2024 09:58:36 +0200 Subject: [PATCH] masonry: recompose instead of relayout Portal on scrollbar drag Regression probably caused in 59ee615651266421ffe65dadee6d16663f056c9d / ff7635e4c281ff381433728bd070323347638f29. --- masonry/src/widget/portal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masonry/src/widget/portal.rs b/masonry/src/widget/portal.rs index 19d9f8ee3..3ef26f5e5 100644 --- a/masonry/src/widget/portal.rs +++ b/masonry/src/widget/portal.rs @@ -298,7 +298,7 @@ impl Widget for Portal { } if scrollbar_moved { - ctx.request_layout(); + ctx.request_compose(); } }