From 631f2db1a31ce5a32bc954412a7cf42158046113 Mon Sep 17 00:00:00 2001 From: mo8it Date: Sun, 25 Aug 2024 23:54:18 +0200 Subject: [PATCH] Lower the maximum scroll padding --- src/list/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list/state.rs b/src/list/state.rs index 25ca1de..756814f 100644 --- a/src/list/state.rs +++ b/src/list/state.rs @@ -12,7 +12,7 @@ use std::{ use crate::{app_state::AppState, exercise::Exercise, term::progress_bar, MAX_EXERCISE_NAME_LEN}; -const MAX_SCROLL_PADDING: usize = 8; +const MAX_SCROLL_PADDING: usize = 5; // +1 for column padding. const SPACE: &[u8] = &[b' '; MAX_EXERCISE_NAME_LEN + 1];