Fix chat rendering over room status
This commit is contained in:
parent
2a710ab727
commit
47d67022f0
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ fn render_block<M: Msg>(frame: &mut Frame, pos: Pos, size: Size, block: Block<M:
|
|||
|
||||
for (i, line) in msg.lines.into_iter().enumerate() {
|
||||
let y = pos.y + block.line + i as i32;
|
||||
if y < 0 || y >= pos.y + size.height as i32 {
|
||||
if y < pos.y || y >= pos.y + size.height as i32 {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue