Skip to content

Allow API users to override behavior of Keys.onUpPressed and Keys.onDownPressed

Alexander Lohnau requested to merge work/alex/krunner_category_jump into master

If API users do not override those key events, we go into the Keys.onPressed method and increment/decrement the index. If API users override this, the event does not get passed to the Keys.onPressed handler.

Before this patch, the up/down key event would always be called, even if the consumer has specified those too.

Merge request reports