(ctx: &Context)
| 75 | } |
| 76 | |
| 77 | pub fn consume_down_key(ctx: &Context) -> bool { |
| 78 | if any_widget_focused(ctx) { |
| 79 | return false; |
| 80 | } |
| 81 | ctx.input_mut(|i| { |
| 82 | i.consume_key(Modifiers::NONE, Key::ArrowDown) || i.consume_key(Modifiers::NONE, Key::S) |
| 83 | }) |
| 84 | } |
| 85 | |
| 86 | const OBJECT_FILTER_SHORTCUT: KeyboardShortcut = KeyboardShortcut::new(Modifiers::CTRL, Key::F); |
| 87 |
no test coverage detected