mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-19 00:04:19 +01:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user