mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 13:24:19 +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,
|
||||
}
|
||||
|
||||
struct DiffLayout<'a> {
|
||||
buffer_row: u32,
|
||||
last_diff: Option<&'a DiffHunk<u32>>,
|
||||
}
|
||||
|
||||
fn diff_quad(
|
||||
hunk: &DiffHunkLayout,
|
||||
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 show_gutter = matches!(
|
||||
&cx.global::<Settings>()
|
||||
|
|
Loading…
Reference in a new issue