mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-28 21:32:39 +00:00
fmt
This commit is contained in:
parent
5c31c84c90
commit
e4454f1e7f
2 changed files with 13 additions and 13 deletions
|
@ -6,8 +6,8 @@ use gpui::{
|
||||||
actions,
|
actions,
|
||||||
anyhow::{anyhow, Result},
|
anyhow::{anyhow, Result},
|
||||||
elements::{
|
elements::{
|
||||||
AnchorCorner, ChildView, ContainerStyle, Empty, Flex, MouseEventHandler,
|
AnchorCorner, ChildView, ContainerStyle, Empty, Flex, Label, MouseEventHandler,
|
||||||
ParentElement, ScrollTarget, Stack, Svg, UniformList, UniformListState, Label,
|
ParentElement, ScrollTarget, Stack, Svg, UniformList, UniformListState,
|
||||||
},
|
},
|
||||||
geometry::vector::Vector2F,
|
geometry::vector::Vector2F,
|
||||||
keymap_matcher::KeymapContext,
|
keymap_matcher::KeymapContext,
|
||||||
|
|
|
@ -447,19 +447,19 @@ pub struct ProjectPanelEntry {
|
||||||
pub icon_size: f32,
|
pub icon_size: f32,
|
||||||
pub icon_spacing: f32,
|
pub icon_spacing: f32,
|
||||||
pub status: EntryStatus,
|
pub status: EntryStatus,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Deserialize, Default)]
|
#[derive(Clone, Debug, Deserialize, Default)]
|
||||||
pub struct EntryStatus {
|
pub struct EntryStatus {
|
||||||
pub git: GitProjectStatus,
|
pub git: GitProjectStatus,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Deserialize, Default)]
|
#[derive(Clone, Debug, Deserialize, Default)]
|
||||||
pub struct GitProjectStatus {
|
pub struct GitProjectStatus {
|
||||||
pub modified: Color,
|
pub modified: Color,
|
||||||
pub inserted: Color,
|
pub inserted: Color,
|
||||||
pub conflict: Color,
|
pub conflict: Color,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Deserialize, Default)]
|
#[derive(Clone, Debug, Deserialize, Default)]
|
||||||
pub struct ContextMenu {
|
pub struct ContextMenu {
|
||||||
|
|
Loading…
Reference in a new issue