fixes scroll handling for paragraph widget

This commit is contained in:
Sebastian Woetzel 2017-04-30 19:01:53 +02:00
parent 384ae324c9
commit 81cedbd6f2
No known key found for this signature in database
GPG key ID: 6124402A3FAA8631

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