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

Function up_pressed

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

Source from the content-addressed store, hash-verified

27}
28
29pub fn up_pressed(ctx: &Context) -> bool {
30 if any_widget_focused(ctx) {
31 return false;
32 }
33 ctx.input_mut(|i| i.key_pressed(Key::ArrowUp) || i.key_pressed(Key::W))
34}
35
36pub fn down_pressed(ctx: &Context) -> bool {
37 if any_widget_focused(ctx) {

Callers 1

symbol_list_uiFunction · 0.85

Calls 1

any_widget_focusedFunction · 0.85

Tested by

no test coverage detected