Compare commits

...

2 Commits

Author SHA1 Message Date
nyx
9f7aedbc48
Merge 5692582034 into 6728e7ee9b 2024-11-06 16:30:14 -05:00
nyx
5692582034
fix reversion 2024-11-06 15:35:05 -05:00

View File

@ -171,7 +171,7 @@ impl FloatingText {
fn scroll_down(&mut self) {
let visible_lines = self.frame_height.saturating_sub(2);
if self.v_scroll + visible_lines < self.src.len() {
if self.v_scroll + visible_lines < self.wrapped_lines.len() {
self.v_scroll += 1;
}
}