Use frame stack instead of explicit pos and size parameters
This commit is contained in:
parent
44470b973d
commit
9aed0a3cee
9 changed files with 22 additions and 15 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue