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:
parent
09cd0b4dae
commit
7ccfe775fd
@ -238,7 +238,7 @@ namespace Artemis.Core
|
|||||||
{
|
{
|
||||||
// If we are at the end of the main timeline, wrap around back to the beginning
|
// If we are at the end of the main timeline, wrap around back to the beginning
|
||||||
if (DisplayContinuously && TimelinePosition >= mainSegmentEnd)
|
if (DisplayContinuously && TimelinePosition >= mainSegmentEnd)
|
||||||
TimelinePosition = StartSegmentLength + (mainSegmentEnd - TimelinePosition);
|
TimelinePosition = StartSegmentLength;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user