commit d265d48c0b2d02c5b73071d5569ecaea2fb3d48e
parent 239a2cb701d1f3692d1e10769de7c86bf40a5f56
Author: William Casarin <jb55@jb55.com>
Date: Thu, 4 Jul 2024 10:13:32 -0700
fix scroll area shrinking
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/timeline.rs b/src/timeline.rs
@@ -317,6 +317,7 @@ pub fn timeline_view(ui: &mut egui::Ui, app: &mut Damus, timeline: usize) {
egui::ScrollArea::vertical()
.id_source(scroll_id)
.animated(false)
+ .auto_shrink([false, false])
.scroll_bar_visibility(ScrollBarVisibility::AlwaysVisible)
.show(ui, |ui| {
let view = app.timelines[timeline].current_view();