diff options
Diffstat (limited to 'src/display/displayable_tree.rs')
-rw-r--r-- | src/display/displayable_tree.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/displayable_tree.rs b/src/display/displayable_tree.rs index f4f4974..1a92f4b 100644 --- a/src/display/displayable_tree.rs +++ b/src/display/displayable_tree.rs @@ -511,7 +511,7 @@ impl<'a, 's, 't> DisplayableTree<'a, 's, 't> { } let mut line_index = y as usize; if line_index > 0 { - line_index += tree.scroll as usize; + line_index += tree.scroll; } let mut selected = false; let mut cw = CropWriter::new(f, self.area.width as usize); |