Use a different color for ignored files in the project panel (#4227)
 Release Notes: - Fixed an issue where ignored files were not visually distinguished in the project panel.
This commit is contained in:
commit
2d7d07173d
1 changed files with 2 additions and 0 deletions
|
@ -1352,6 +1352,8 @@ impl ProjectPanel {
|
||||||
})
|
})
|
||||||
.unwrap_or(if is_selected {
|
.unwrap_or(if is_selected {
|
||||||
Color::Default
|
Color::Default
|
||||||
|
} else if details.is_ignored {
|
||||||
|
Color::Disabled
|
||||||
} else {
|
} else {
|
||||||
Color::Muted
|
Color::Muted
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue