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:
@@ -85,7 +85,9 @@ pub struct TimelineView {
|
|||||||
impl TimelineView {
|
impl TimelineView {
|
||||||
pub fn new(filter: ViewFilter) -> Self {
|
pub fn new(filter: ViewFilter) -> Self {
|
||||||
let selection = 0i32;
|
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);
|
let notes: Vec<NoteRef> = Vec::with_capacity(1000);
|
||||||
|
|
||||||
TimelineView {
|
TimelineView {
|
||||||
|
|||||||
Reference in New Issue
Block a user