1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

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

This commit is contained in:
SpoinkyNL 2020-10-16 23:49:32 +02:00
parent 09cd0b4dae
commit 7ccfe775fd

View File

@ -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
{