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