From 15b7074b4ef2c6d947281247e8f40c2ce85690da Mon Sep 17 00:00:00 2001 From: kamel5 Date: Thu, 9 Jan 2020 14:06:59 +0100 Subject: Separate "displayTime" for horizontal and vertical view --- tvguideosd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tvguideosd.c') diff --git a/tvguideosd.c b/tvguideosd.c index ba2d606..3a7f7e1 100644 --- a/tvguideosd.c +++ b/tvguideosd.c @@ -638,19 +638,19 @@ void cTvGuideOsd::processNumKey(int numKey) { void cTvGuideOsd::TimeJump(int mode) { switch (mode) { case 1: { - timeManager->DelStep(config.bigStepHours * 60); + timeManager->DelStep(((config.displayMode == eVertical) ? config.bigStepHours : config.bigStepHoursHorizontal) * 60); } break; case 3: { - timeManager->AddStep(config.bigStepHours * 60); + timeManager->AddStep(((config.displayMode == eVertical) ? config.bigStepHours : config.bigStepHoursHorizontal) * 60); } break; case 4: { - timeManager->DelStep(config.hugeStepHours * 60); + timeManager->DelStep(((config.displayMode == eVertical) ? config.hugeStepHours : config.hugeStepHoursHorizontal) * 60); } break; case 6: { - timeManager->AddStep(config.hugeStepHours * 60); + timeManager->AddStep(((config.displayMode == eVertical) ? config.hugeStepHours : config.hugeStepHoursHorizontal) * 60); } break; case 7: { -- cgit v1.2.3