Fix reversed disclosure arrows in project panel
This commit is contained in:
parent
9286e5ea04
commit
088668ecf8
1 changed files with 2 additions and 2 deletions
|
@ -1028,11 +1028,11 @@ impl ProjectPanel {
|
||||||
.with_child(
|
.with_child(
|
||||||
ConstrainedBox::new(if kind == EntryKind::Dir {
|
ConstrainedBox::new(if kind == EntryKind::Dir {
|
||||||
if details.is_expanded {
|
if details.is_expanded {
|
||||||
Svg::new("icons/chevron_right_8.svg")
|
Svg::new("icons/chevron_down_8.svg")
|
||||||
.with_color(style.icon_color)
|
.with_color(style.icon_color)
|
||||||
.boxed()
|
.boxed()
|
||||||
} else {
|
} else {
|
||||||
Svg::new("icons/chevron_down_8.svg")
|
Svg::new("icons/chevron_right_8.svg")
|
||||||
.with_color(style.icon_color)
|
.with_color(style.icon_color)
|
||||||
.boxed()
|
.boxed()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue