File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ use itertools::Itertools;
2222use ratatui:: {
2323 backend:: Backend ,
2424 layout:: { Alignment , Rect } ,
25+ style:: Style ,
2526 text:: { Line , Span } ,
2627 widgets:: { Block , Borders , Paragraph } ,
2728 Frame ,
@@ -361,13 +362,19 @@ impl CommitList {
361362 ELEMENTS_PER_LINE + if marked. is_some ( ) { 2 } else { 0 } ,
362363 ) ;
363364
364- let splitter_txt = Cow :: from ( symbol:: EMPTY_SPACE ) ;
365- let splitter =
366- Span :: styled ( splitter_txt, theme. text ( true , selected) ) ;
367-
368365 let normal = !self . items . highlighting ( )
369366 || ( self . items . highlighting ( ) && e. highlighted ) ;
370367
368+ let splitter_txt = Cow :: from ( symbol:: EMPTY_SPACE ) ;
369+ let splitter = Span :: styled (
370+ splitter_txt,
371+ if normal {
372+ theme. text ( true , selected)
373+ } else {
374+ Style :: default ( )
375+ } ,
376+ ) ;
377+
371378 // marker
372379 if let Some ( marked) = marked {
373380 txt. push ( Span :: styled (
You can’t perform that action at this time.
0 commit comments