Fix slider repeat points appearing far too late

This commit is contained in:
Dean Herbert 2018-07-30 18:51:25 +09:00
parent 0704f962c5
commit 21f3ff6e77
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ protected override void ApplyDefaultsToSelf(ControlPointInfo controlPointInfo, B
{
base.ApplyDefaultsToSelf(controlPointInfo, difficulty);
// Out preempt should be one span early to give the user ample warning.
TimePreempt += SpanDuration;
// We want to show the first RepeatPoint as the TimePreempt dictates but on short (and possibly fast) sliders
// we may need to cut down this time on following RepeatPoints to only show up to two RepeatPoints at any given time.
if (RepeatIndex > 0)