From 7c922ad6ee1c71200c324db9bf60dc1f23f52bbf Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 8 Nov 2023 21:49:21 -0700 Subject: [PATCH] Remove comments --- crates/gpui2/src/element.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/crates/gpui2/src/element.rs b/crates/gpui2/src/element.rs index de9788a9a0..8fdc17de07 100644 --- a/crates/gpui2/src/element.rs +++ b/crates/gpui2/src/element.rs @@ -154,21 +154,6 @@ where mut frame_state, } => { let bounds = cx.layout_bounds(layout_id); - // if let Some((input_handler, focus_handle)) = - // self.element.handle_text_input(view_state, cx) - // { - // todo!() - // // cx.handle_input(&focus_handle, Box::new()) - - // // if focus_handle.is_focused(cx) { - // // cx.window.requested_input_handler = Some(Box::new(WindowInputHandler { - // // cx: cx.app.this.clone(), - // // window: cx.window_handle(), - // // input_handler, - // // element_bounds: bounds, - // // })); - // // } - // } if let Some(id) = self.element.id() { cx.with_element_state(id, |element_state, cx| { let mut element_state = element_state.unwrap();