mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Add scroll bars to windows.
Auto-hide scroll bars when not needed Bug fixes: * collapsing headers animation * clip rect interactions * clip rects for scroll areas
This commit is contained in:
@@ -172,7 +172,8 @@ impl Resize {
|
||||
contents_region.clip_rect.max = contents_region
|
||||
.clip_rect
|
||||
.max
|
||||
.max(contents_region.clip_rect.min + last_frame_size);
|
||||
.max(contents_region.clip_rect.min + last_frame_size)
|
||||
.min(region.clip_rect.max); // Respect parent region
|
||||
|
||||
add_contents(&mut contents_region);
|
||||
contents_region.bounding_size()
|
||||
|
||||
Reference in New Issue
Block a user