Render element - Fixed timeline repeat wrap-around on 0-length timelines

This commit is contained in:
SpoinkyNL committed 2020-10-16 23:49:32 +02:00
1 parent 09cd0b4dae
commit 7ccfe775fd
1 file changed
+1 -1
@@ -238,7 +238,7 @@ namespace Artemis.Core
{
// If we are at the end of the main timeline, wrap around back to the beginning
if (DisplayContinuously && TimelinePosition >= mainSegmentEnd)
TimelinePosition = StartSegmentLength + (mainSegmentEnd - TimelinePosition);
TimelinePosition = StartSegmentLength;
}
else
{