File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -4157,23 +4157,20 @@ impl GitPanel {
41574157 . items_center ( )
41584158 . flex_1 ( )
41594159 // .overflow_hidden()
4160+ . child (
4161+ self . entry_label ( format ! ( "{display_name} " ) , label_color)
4162+ . when ( status. is_deleted ( ) , |this| this. strikethrough ( ) ) ,
4163+ )
41604164 . when_some ( entry. parent_dir ( path_style) , |this, parent| {
41614165 if !parent. is_empty ( ) {
41624166 this. child (
4163- self . entry_label (
4164- format ! ( "{parent}{}" , path_style. separator( ) ) ,
4165- path_color,
4166- )
4167- . when ( status. is_deleted ( ) , |this| this. strikethrough ( ) ) ,
4167+ self . entry_label ( parent, path_color)
4168+ . when ( status. is_deleted ( ) , |this| this. strikethrough ( ) ) ,
41684169 )
41694170 } else {
41704171 this
41714172 }
4172- } )
4173- . child (
4174- self . entry_label ( display_name, label_color)
4175- . when ( status. is_deleted ( ) , |this| this. strikethrough ( ) ) ,
4176- ) ,
4173+ } ) ,
41774174 )
41784175 . into_any_element ( )
41794176 }
You can’t perform that action at this time.
0 commit comments