Move SetTimeShiftValues

This commit is contained in:
kamel5 2021-02-15 12:36:55 +01:00
parent afa9cb77a3
commit 15aa722410
2 changed files with 1 additions and 2 deletions

View File

@ -304,7 +304,7 @@ void cViewReplay::SetEndTime(int current, int total) {
}
void cViewReplay::SetProgressbar(int current, int total) {
// SetTimeShiftValues(current, total);
SetTimeShiftValues(current, total);
if (veProgressbar)
veProgressbar->Set(current, total, timeShiftActive, timeShiftFramesTotal);
Render((int)eVeDisplayReplay::progressbar);

View File

@ -53,7 +53,6 @@ void cSDDisplayReplay::SetMode(bool Play, bool Forward, int Speed) {
void cSDDisplayReplay::SetProgress(int Current, int Total) {
if (ok) {
view->SetTimeShiftValues(Current, Total);
view->SetProgressbar(Current, Total);
view->SetMarks(marks, Current, Total);
view->SetTimeshiftTimes(Current, Total);