diff options
Diffstat (limited to 'tvguideosd.c')
-rw-r--r-- | tvguideosd.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tvguideosd.c b/tvguideosd.c index 897ad6c..f35bdbc 100644 --- a/tvguideosd.c +++ b/tvguideosd.c @@ -352,7 +352,7 @@ void cTvGuideOsd::channelBack() { void cTvGuideOsd::timeForward() { bool actionDone = false; - if ( (timeManager->GetEnd() - activeGrid->EndTime())/60 < 30 ) { + if ((timeManager->GetEnd() - activeGrid->EndTime())/60 < 30 ) { ScrollForward(); actionDone = true; } @@ -373,7 +373,6 @@ void cTvGuideOsd::timeForward() { void cTvGuideOsd::ScrollForward() { timeManager->AddStep(config.stepMinutes); timeLine->drawDateViewer(); - timeLine->drawClock(); timeLine->setTimeline(); for (cChannelEpg *column = columns.First(); column; column = columns.Next(column)) { column->AddNewGridsAtEnd(); @@ -384,7 +383,7 @@ void cTvGuideOsd::ScrollForward() { void cTvGuideOsd::timeBack() { bool actionDone = false; - if ( (activeGrid->StartTime() - timeManager->GetStart())/60 < 30 ) { + if ((activeGrid->StartTime() - timeManager->GetStart())/60 < 30 ) { ScrollBack(); actionDone = true; } @@ -408,7 +407,6 @@ void cTvGuideOsd::ScrollBack() { if (tooFarInPast) return; timeLine->drawDateViewer(); - timeLine->drawClock(); timeLine->setTimeline(); for (cChannelEpg *column = columns.First(); column; column = columns.Next(column)) { column->AddNewGridsAtStart(); @@ -776,6 +774,9 @@ eOSState cTvGuideOsd::ProcessKey(eKeys Key) { case kNone: if (channelJumper) CheckTimeout(); break; default: break; } + if (timeLine->drawClock()) { + osdManager.flush(); + } } if (!alreadyUnlocked) { cPixmap::Unlock(); |