fixed scrolling bug

This commit is contained in:
louis 2016-03-28 12:26:26 +02:00
parent 70d3f63988
commit 11f5697032

View File

@ -306,13 +306,13 @@ void cViewElement::WakeUp(void) {
void cViewElement::Close(void) {
delete detacher;
detacher = NULL;
StopScrolling();
for (cAreaNode *node = areaNodes.First(); node; node = areaNodes.Next(node)) {
node->StopBlinkers();
sdOsd->Lock();
node->Close();
sdOsd->Unlock();
}
StopScrolling();
dirty = true;
init = true;
startAnimation = true;
@ -538,4 +538,5 @@ cPoint cViewElement::ShiftStart(cRect &shiftbox) {
start.SetY(cOsd::OsdHeight());
}
return start;
}
}