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.

Remove stray `push_layer` from `EditorElement::paint`

Antonio Scandurrab0cbd13e7ace
diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs
index 9ec01b938ae..c0c459351af 100644
--- a/crates/editor/src/element.rs
+++ b/crates/editor/src/element.rs
@@ -867,8 +867,6 @@ impl EditorElement {
}
}
- scene.push_layer(Some(bounds));
-
scene.paint_layer(Some(bounds), |scene| {
for cursor in cursors {
cursor.paint(scene, content_origin, cx);