Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

fixup! Do not render multiple hunks for the same line

Piotr Osiewiczb66453e771e0
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs
index 2f69781aa14..e884f4b356d 100644
--- a/crates/editor/src/element.rs
+++ b/crates/editor/src/element.rs
@@ -1071,7 +1071,6 @@ impl EditorElement {
end_y = start_y + 1.;
}
if (start_y, end_y) == last_rendered_row_range {
- skipped += 1;
continue;
}
last_rendered_row_range = (start_y, end_y);