mirror of
https://github.com/fdehau/tui-rs.git
synced 2024-11-15 06:12:49 +00:00
Merge pull request #3 from wose/master
fixes scroll handling for paragraph widget
This commit is contained in:
commit
5e4960162d
@ -264,7 +264,7 @@ impl<'a> Widget for Paragraph<'a> {
|
||||
continue;
|
||||
}
|
||||
|
||||
if y > text_area.height - 1 {
|
||||
if y > text_area.height + self.scroll - 1 {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user