mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 00:48:35 +00:00
add scrollbar to revlog
This commit is contained in:
parent
9c7ac0f84d
commit
e275caa872
1 changed files with 9 additions and 1 deletions
|
|
@ -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(())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue