mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 21:32:40 +00:00
Clean
This commit is contained in:
parent
16f854b636
commit
8d609959f1
1 changed files with 0 additions and 10 deletions
|
@ -539,11 +539,6 @@ impl EditorElement {
|
||||||
bounds: RectF,
|
bounds: RectF,
|
||||||
}
|
}
|
||||||
|
|
||||||
struct DiffLayout<'a> {
|
|
||||||
buffer_row: u32,
|
|
||||||
last_diff: Option<&'a DiffHunk<u32>>,
|
|
||||||
}
|
|
||||||
|
|
||||||
fn diff_quad(
|
fn diff_quad(
|
||||||
hunk: &DiffHunkLayout,
|
hunk: &DiffHunkLayout,
|
||||||
gutter_layout: &GutterLayout,
|
gutter_layout: &GutterLayout,
|
||||||
|
@ -605,11 +600,6 @@ impl EditorElement {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut diff_layout = DiffLayout {
|
|
||||||
buffer_row: scroll_position.y() as u32,
|
|
||||||
last_diff: None,
|
|
||||||
};
|
|
||||||
|
|
||||||
let diff_style = &cx.global::<Settings>().theme.editor.diff.clone();
|
let diff_style = &cx.global::<Settings>().theme.editor.diff.clone();
|
||||||
let show_gutter = matches!(
|
let show_gutter = matches!(
|
||||||
&cx.global::<Settings>()
|
&cx.global::<Settings>()
|
||||||
|
|
Loading…
Reference in a new issue