notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit e6efad025fcda58c6d5330edf20a1e4a7a833e0e
parent 6e69407224c75ff94a45db5b9e5346838c17e6df
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 28 May 2024 14:10:57 -0700

timeline: don't hide on resize

It doesn't seem to flicker so why not

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/timeline.rs | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/timeline.rs b/src/timeline.rs @@ -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 {