mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Render element - Fixed timeline repeat wrap-around on 0-length timelines
This commit is contained in:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user