de-dbg
This commit is contained in:
parent
b90e34aeb2
commit
47a63d5cb7
1 changed files with 0 additions and 4 deletions
|
@ -414,14 +414,10 @@ pub trait ElementInteractivity<V: 'static>: 'static {
|
||||||
Box::new(move |_, key_down, context, phase, cx| {
|
Box::new(move |_, key_down, context, phase, cx| {
|
||||||
if phase == DispatchPhase::Bubble {
|
if phase == DispatchPhase::Bubble {
|
||||||
let key_down = key_down.downcast_ref::<KeyDownEvent>().unwrap();
|
let key_down = key_down.downcast_ref::<KeyDownEvent>().unwrap();
|
||||||
dbg!(key_down);
|
|
||||||
if let KeyMatch::Some(action) =
|
if let KeyMatch::Some(action) =
|
||||||
cx.match_keystroke(&global_id, &key_down.keystroke, context)
|
cx.match_keystroke(&global_id, &key_down.keystroke, context)
|
||||||
{
|
{
|
||||||
dbg!(&action);
|
|
||||||
return Some(action);
|
return Some(action);
|
||||||
} else {
|
|
||||||
dbg!("none");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue