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
|
|
@ -262,7 +262,9 @@ impl EuphRoom {
|
|||
|
||||
let mut list = self.nick_list.list();
|
||||
Self::render_rows(&mut list, joined);
|
||||
Box::new(list).render(frame, pos, size).await;
|
||||
frame.push(pos, size);
|
||||
Box::new(list).render(frame).await;
|
||||
frame.pop();
|
||||
}
|
||||
|
||||
fn render_hsplit(frame: &mut Frame, hsplit: i32) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue