mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
fix(SegmentedGraph): solve issue for negatives values
This commit is contained in:
@ -86,7 +86,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
if (min < 0)
|
||||
{
|
||||
for (int i = 0; i < floatValues.Length; i++)
|
||||
floatValues[i] += min;
|
||||
floatValues[i] += Math.Abs(min);
|
||||
}
|
||||
|
||||
// Normalize values
|
||||
|
Reference in New Issue
Block a user