fixes scroll handling for paragraph widget

pull/3/head
Sebastian Woetzel 7 years ago
parent 384ae324c9
commit 81cedbd6f2
No known key found for this signature in database
GPG Key ID: 6124402A3FAA8631

@ -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…
Cancel
Save