We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46d0918 commit 1dc4e48Copy full SHA for 1dc4e48
crates/egui/src/containers/scroll_area.rs
@@ -1010,12 +1010,12 @@ impl Prepared {
1010
let outer_scroll_rect = if d == 0 {
1011
Rect::from_min_max(
1012
pos2(inner_rect.left(), cross.min - inner_margin),
1013
- pos2(inner_rect.right(), cross.max),
+ pos2(inner_rect.right(), cross.max + outer_margin),
1014
)
1015
} else {
1016
1017
pos2(cross.min - inner_margin, inner_rect.top()),
1018
- pos2(cross.max, inner_rect.bottom()),
+ pos2(cross.max + outer_margin, inner_rect.bottom()),
1019
1020
};
1021
0 commit comments