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.

de-dbg

Conrad Irwin47a63d5cb7a6
diff --git a/crates/gpui2/src/interactive.rs b/crates/gpui2/src/interactive.rs
index 40d247f32b9..a546c1b40b9 100644
--- a/crates/gpui2/src/interactive.rs
+++ b/crates/gpui2/src/interactive.rs
@@ -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");
}
}