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 commented out code

Antonio Scandurra3ea12ad0d7ad
diff --git a/crates/editor2/src/element.rs b/crates/editor2/src/element.rs
index 56f4ecd2bed..1a888e21f7f 100644
--- a/crates/editor2/src/element.rs
+++ b/crates/editor2/src/element.rs
@@ -1061,7 +1061,6 @@ impl EditorElement {
if let Some((position, mut hover_popovers)) = layout.hover_popovers.take() {
let available_space =
size(AvailableSpace::MinContent, AvailableSpace::MinContent);
- // cx.scene().push_stacking_context(None, None);
// This is safe because we check on layout whether the required row is available
let hovered_row_layout = &layout.position_map.line_layouts
@@ -1118,8 +1117,6 @@ impl EditorElement {
current_y = popover_origin.y + size.height + HOVER_POPOVER_GAP;
}
}
-
- // cx.scene().pop_stacking_context();
}
})
},