MCPcopy Index your code
hub / github.com/encounter/objdiff / down_pressed

Function down_pressed

objdiff-gui/src/hotkeys.rs:36–41  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

34}
35
36pub fn down_pressed(ctx: &Context) -> bool {
37 if any_widget_focused(ctx) {
38 return false;
39 }
40 ctx.input_mut(|i| i.key_pressed(Key::ArrowDown) || i.key_pressed(Key::S))
41}
42
43pub fn page_up_pressed(ctx: &Context) -> bool { ctx.input_mut(|i| i.key_pressed(Key::PageUp)) }
44

Callers 1

symbol_list_uiFunction · 0.85

Calls 1

any_widget_focusedFunction · 0.85

Tested by

no test coverage detected