Skip to content

Commit

Permalink
Merge branch 'master' into update-configs
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy authored Feb 3, 2025
2 parents b8c55b4 + a6b5d85 commit 06cc7dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PerformanceCalculatorGUI/Components/StrainVisualizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private void updateGraphs(ValueChangedEvent<Skill[]> val)
Width = 200,
Current = { BindTarget = graphToggleBindable, Default = true, Value = true },
LabelText = skills[i].GetType().Name,
TextColour = skillColours[i]
TextColour = skillColours[i % skillColours.Length]
}
}
});
Expand Down Expand Up @@ -196,7 +196,7 @@ private void addStrainBars(Skill[] skills, List<float[]> strainLists)
{
RelativeSizeAxes = Axes.Both,
Alpha = graphAlpha,
Colour = skillColours[i],
Colour = skillColours[i % skillColours.Length],
Child = new StrainBarGraph
{
RelativeSizeAxes = Axes.Both,
Expand Down

0 comments on commit 06cc7dc

Please sign in to comment.