diff options
Diffstat (limited to 'src/scroll/utils.rs')
-rw-r--r-- | src/scroll/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scroll/utils.rs b/src/scroll/utils.rs index 485fa55..6a404a2 100644 --- a/src/scroll/utils.rs +++ b/src/scroll/utils.rs @@ -1,4 +1,4 @@ -pub fn get_scroll_position(position: usize, item_count: usize, height: usize) -> usize { +pub(crate) fn get_scroll_position(position: usize, item_count: usize, height: usize) -> usize { if position == 0 { return 0; } |