perf: reduce timeline overscan

I think I did this for image preloading, but it renders more things than
we need.
This commit is contained in:
William Casarin
2025-03-23 11:27:24 -07:00
parent a21a3c079c
commit 23c93e1028

View File

@@ -119,7 +119,7 @@ impl TimelineTab {
let selection = 0i32;
let mut list = VirtualList::new();
list.hide_on_resize(None);
list.over_scan(1000.0);
list.over_scan(50.0);
let list = Rc::new(RefCell::new(list));
let notes: Vec<NoteRef> = Vec::with_capacity(cap);