From 3ea12ad0d7ad391e9f8855d9e7a84668fbc688e6 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 27 Nov 2023 19:19:56 +0100 Subject: [PATCH] Remove commented out code --- crates/editor2/src/element.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/editor2/src/element.rs b/crates/editor2/src/element.rs index 56f4ecd2be..1a888e21f7 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(); } }) },