mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed FadeOut bug
This commit is contained in:
parent
229b1274a5
commit
d5a91f36dc
2
HISTORY
2
HISTORY
@ -209,3 +209,5 @@ Version 0.2.2
|
|||||||
Version 0.3.0
|
Version 0.3.0
|
||||||
|
|
||||||
- checking setup conditions for viewelements
|
- checking setup conditions for viewelements
|
||||||
|
- fixed FadeOut bug
|
||||||
|
|
||||||
|
@ -358,7 +358,7 @@ void cPixmapContainer::FadeOut(void) {
|
|||||||
}
|
}
|
||||||
DoFlush();
|
DoFlush();
|
||||||
int Delta = cTimeMs::Now() - Now;
|
int Delta = cTimeMs::Now() - Now;
|
||||||
if (Running() && (Delta < FadeFrameTime))
|
if (Delta < FadeFrameTime)
|
||||||
cCondWait::SleepMs(FadeFrameTime - Delta);
|
cCondWait::SleepMs(FadeFrameTime - Delta);
|
||||||
if ((int)(Now - Start) > fadeTime)
|
if ((int)(Now - Start) > fadeTime)
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user