mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 02:47:34 +03:00
Use a different color for ignored files in the project panel (#4227)
![Screenshot 2024-01-23 at 1 03 01 PM](https://github.com/zed-industries/zed/assets/326587/28b4e7e1-8847-40ff-aed6-0f4ede6b9007) Release Notes: - Fixed an issue where ignored files were not visually distinguished in the project panel.
This commit is contained in:
commit
2d7d07173d
@ -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…
Reference in New Issue
Block a user