Skip to content

Commit

Permalink
playback: restore seq after mark
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Jan 21, 2023
1 parent 1f9e4ad commit eecb672
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/page_playback.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "ui/ui_player.h"
#include "ui/ui_style.h"
#include "util/file.h"
#include "util/math.h"

LV_IMG_DECLARE(img_arrow1);

Expand Down Expand Up @@ -284,6 +285,7 @@ static void mark_video_file(int seq) {
system(cmd);

walk_sdcard();
media_db.cur_sel = constrain(seq, 0, (media_db.count - 1));
update_page();
}

Expand Down

0 comments on commit eecb672

Please sign in to comment.