fixed bug that viewelement does not stop scrolling when cleared

This commit is contained in:
louis 2016-04-12 16:41:49 +02:00
parent fe1016fed6
commit 7111ae36a8
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,8 @@ bool cViewElement::Execute(void) {
}
void cViewElement::Clear(bool forceClearBackground) {
if (scrollingStarted)
StopScrolling();
tokenContainer->Clear();
for (cAreaNode *node = areaNodes.First(); node; node = areaNodes.Next(node)) {
node->StopBlinkers();