Use frame stack instead of explicit pos and size parameters

This commit is contained in:
Joscha 2022-07-13 11:34:31 +02:00
parent 44470b973d
commit 9aed0a3cee
9 changed files with 22 additions and 15 deletions

View file

@ -152,7 +152,7 @@ impl Rooms {
let rooms = self.stabilize_rooms().await;
let mut list = self.list.list().focus(true);
self.render_rows(&mut list, rooms).await;
Box::new(list).render(frame, Pos::ZERO, frame.size()).await;
Box::new(list).render(frame).await;
}
pub async fn handle_key_event(