diff --git a/src/components/commitlist.rs b/src/components/commitlist.rs index 382019a73d..e7017988dd 100644 --- a/src/components/commitlist.rs +++ b/src/components/commitlist.rs @@ -6,8 +6,8 @@ use crate::{ }, keys::SharedKeyConfig, strings::{self, symbol}, - ui::calc_scroll_top, ui::style::{SharedTheme, Theme}, + ui::{calc_scroll_top, draw_scrollbar}, }; use anyhow::Result; use asyncgit::sync::{CommitId, Tags}; @@ -409,6 +409,14 @@ impl DrawableComponent for CommitList { area, ); + draw_scrollbar( + f, + area, + &self.theme, + self.count_total, + self.selection, + ); + Ok(()) } }