cleanup minor UX issue (disappearing title when no items present)

This commit is contained in:
bunnie 2023-01-27 02:23:34 +08:00 committed by Sean Cross
parent 57ba858d99
commit d673cef1b0

View file

@ -427,6 +427,7 @@ impl VaultUx {
stroke_width: 0
}
)).expect("can't clear content area");
self.title_dirty = true; // just blanked the whole area, have to redraw the title.
return;
} else if self.title_dirty && self.filtered_list.len() != 0 {
// handle the title region separately