Change summary
crates/gpui2/src/interactive.rs | 4 ----
1 file changed, 4 deletions(-)
Detailed changes
@@ -414,14 +414,10 @@ pub trait ElementInteractivity<V: 'static>: 'static {
Box::new(move |_, key_down, context, phase, cx| {
if phase == DispatchPhase::Bubble {
let key_down = key_down.downcast_ref::<KeyDownEvent>().unwrap();
- dbg!(key_down);
if let KeyMatch::Some(action) =
cx.match_keystroke(&global_id, &key_down.keystroke, context)
{
- dbg!(&action);
return Some(action);
- } else {
- dbg!("none");
}
}