Fix reversed disclosure arrows in project panel

This commit is contained in:
Nate Butler 2022-07-22 11:57:53 -04:00
parent 9286e5ea04
commit 088668ecf8

View File

@ -1028,11 +1028,11 @@ impl ProjectPanel {
.with_child(
ConstrainedBox::new(if kind == EntryKind::Dir {
if details.is_expanded {
Svg::new("icons/chevron_right_8.svg")
Svg::new("icons/chevron_down_8.svg")
.with_color(style.icon_color)
.boxed()
} else {
Svg::new("icons/chevron_down_8.svg")
Svg::new("icons/chevron_right_8.svg")
.with_color(style.icon_color)
.boxed()
}