mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
Compare commits
2 Commits
ccb41cda0d
...
9f7aedbc48
Author | SHA1 | Date | |
---|---|---|---|
|
9f7aedbc48 | ||
|
5692582034 |
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user