add some missing stuff

This commit is contained in:
jorolf
2018-12-22 22:31:11 +01:00
parent 2fe80d5568
commit da99161736
3 changed files with 38 additions and 8 deletions

View File

@ -111,7 +111,6 @@ namespace osu.Game.Graphics.UserInterface
{
float x = (i + count - values.Length) / (float)(count - 1) * DrawWidth - 1;
float y = GetYPosition(values[i]) * DrawHeight - path.PathWidth;
// the -1 is for inner offset in path (actually -PathWidth)
path.AddVertex(new Vector2(x, y));
}
}