Skip to content

Commit

Permalink
fixed repeated input when ui gets reopened
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Mar 18, 2024
1 parent c05eb6a commit 95bea8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/ui/ui_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ void app_ui_input_init(app_ui_input_t *input, app_ui_t *ui) {
}

void app_ui_input_deinit(app_ui_input_t *input) {
lv_indev_delete(input->key.indev);
lv_indev_delete(input->pointer.indev);
lv_indev_delete(input->wheel.indev);
lv_indev_delete(input->button.indev);

_lv_ll_clear(&input->modal_groups);
}

Expand Down

0 comments on commit 95bea8c

Please sign in to comment.