Expand description

Provides different helper functions.

Functions

Calculates whether or not the Split Times for the indicated split qualify as a Best Segment.
Checks whether the live segment should now be shown.
Calculates the comparison’s segment time of the segment with the timing method specified, combining segments if the segment before it is empty. This is not calculating the current attempt’s segment times.
Calculates the comparison’s segment time of the segment with the timing method specified. This is not calculating the current attempt’s segment times.
Gets the last non-live delta in the Run starting from segment_index.
Gets the amount of time lost or gained on a certain split, using the live segment delta if the split is not completed yet.
Gets the length of the last segment that leads up to a certain split, using the live segment time if the split is not completed yet.
Gets the amount of time lost or gained on a certain split.
Gets the length of the last segment that leads up to a certain split.
Chooses a split color from the LayoutSettings based on the current run.