Tertiary favourite app

This commit is contained in:
MX
2023-03-18 01:16:34 +03:00
parent 9941457cdb
commit 3444c5245e
8 changed files with 84 additions and 52 deletions

View File

@@ -126,13 +126,11 @@ static bool bubble_animation_input_callback(InputEvent* event, void* context) {
bubble_animation_activate(animation_view, false);
}
if(event->key == InputKeyRight) {
if(event->key == InputKeyRight && event->type == InputTypeShort) {
/* Right button reserved for animation activation, so consume */
consumed = true;
if(event->type == InputTypeShort) {
if(animation_view->interact_callback) {
animation_view->interact_callback(animation_view->interact_callback_context);
}
if(animation_view->interact_callback) {
animation_view->interact_callback(animation_view->interact_callback_context);
}
}