timeline: don't hide on resize

It doesn't seem to flicker so why not

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-05-28 14:10:57 -07:00
parent 6e69407224
commit e6efad025f

View File

@@ -85,7 +85,9 @@ pub struct TimelineView {
impl TimelineView {
pub fn new(filter: ViewFilter) -> Self {
let selection = 0i32;
let list = Rc::new(RefCell::new(VirtualList::new()));
let mut list = VirtualList::new();
list.hide_on_resize(None);
let list = Rc::new(RefCell::new(list));
let notes: Vec<NoteRef> = Vec::with_capacity(1000);
TimelineView {