Skip to content

Commit

Permalink
feat: quick scrolling on press + version update
Browse files Browse the repository at this point in the history
  • Loading branch information
QtRoS committed Nov 26, 2022
1 parent 1aebc09 commit 7b9a7db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hex_viewer.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static void render_callback(Canvas* canvas, void* ctx) {

static void input_callback(InputEvent* input_event, void* ctx) {
HexViewer* hex_viewer = ctx;
if(input_event->type == InputTypeShort) {
if(input_event->type == InputTypeShort || input_event->type == InputTypeRepeat) {
furi_message_queue_put(hex_viewer->input_queue, input_event, 0);
}
}
Expand Down Expand Up @@ -266,7 +266,7 @@ int32_t hex_viewer_app(void* p) {

DialogsApp* dialogs = furi_record_open(RECORD_DIALOGS);
DialogMessage* message = dialog_message_alloc();
dialog_message_set_header(message, "Hex Viewer v1.0", 16, 2, AlignLeft, AlignTop);
dialog_message_set_header(message, "Hex Viewer v1.1", 16, 2, AlignLeft, AlignTop);
dialog_message_set_icon(message, &I_hex_10px, 3, 2);
dialog_message_set_text(
message, furi_string_get_cstr(buffer), 3, 16, AlignLeft, AlignTop);
Expand Down

0 comments on commit 7b9a7db

Please sign in to comment.