Skip to content

Commit

Permalink
Reduce redundancy time range to create a bit more visual blending on …
Browse files Browse the repository at this point in the history
…the timeline
  • Loading branch information
peppy committed Jan 19, 2022
1 parent 03ac91a commit 5f5765d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -36,7 +36,7 @@ protected override void LoadBeatmap(EditorBeatmap beatmap)
// as an optimisation, don't add a visualisation if there are already groups with the same types in close proximity.
// for newly added control points (ie. lazer editor first where group is added empty) we always skip for simplicity.
// that is fine, because cases where this is causing a performance issue are mostly where external tools were used to create an insane number of points.
if (Children.Any(g => Math.Abs(g.Group.Time - group.Time) < 1000 && g.IsVisuallyRedundant(group)))
if (Children.Any(g => Math.Abs(g.Group.Time - group.Time) < 500 && g.IsVisuallyRedundant(group)))
continue;
Add(new GroupVisualisation(group));
Expand Down

0 comments on commit 5f5765d

Please sign in to comment.