mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1126330 - Remove the check for non-looping animations. r=seth
This commit is contained in:
parent
33a8ab8b56
commit
9148ae4112
@ -313,7 +313,7 @@ FrameAnimator::GetTimeoutForFrame(uint32_t aFrameNum) const
|
|||||||
// It seems that there are broken tools out there that set a 0ms or 10ms
|
// It seems that there are broken tools out there that set a 0ms or 10ms
|
||||||
// timeout when they really want a "default" one. So munge values in that
|
// timeout when they really want a "default" one. So munge values in that
|
||||||
// range.
|
// range.
|
||||||
if (data.mRawTimeout >= 0 && data.mRawTimeout <= 10 && mLoopCount != 0) {
|
if (data.mRawTimeout >= 0 && data.mRawTimeout <= 10) {
|
||||||
return 100;
|
return 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user