fmt
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
+11
-11
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user