Merge pull request #3 from wose/master

fixes scroll handling for paragraph widget
This commit is contained in:
Florian Dehau 2017-05-17 07:35:56 +02:00 committed by GitHub
commit 5e4960162d

View File

@ -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;
}