Make chevrons and lightning bolt interactive

This commit is contained in:
Mikayla Maki
2023-02-28 16:34:28 -08:00
parent 89b93d4f6f
commit 37a2ef9d41
4 changed files with 47 additions and 18 deletions
+7 -4
View File
@@ -635,18 +635,21 @@ pub struct FieldEditor {
#[derive(Clone, Deserialize, Default)]
pub struct CodeActions {
#[serde(default)]
pub indicator: Color,
pub indicator: Interactive<Indicator>,
pub vertical_scale: f32,
}
#[derive(Clone, Deserialize, Default)]
pub struct Folds {
#[serde(default)]
pub indicator: Color,
pub faded_indicator: Color,
pub indicator: Interactive<Indicator>,
pub fold_background: Color,
}
#[derive(Clone, Deserialize, Default)]
pub struct Indicator {
pub color: Color,
}
#[derive(Clone, Deserialize, Default)]
pub struct DiffStyle {
pub inserted: Color,