main page button layout working.

This commit is contained in:
2019-03-09 00:26:59 -06:00
parent 16579bd4bf
commit b20ef57991
4 changed files with 41 additions and 33 deletions

View File

@@ -45,8 +45,8 @@ namespace RhythmBullet.Audio.Visualizer
rectangleRenderer.Begin(true);
for (int i = 0; i < BAR_COUNT; i++)
{
bar.X = (i * (bar.Width + spaceBetweenBars)) + bounds.X;
bar.Y = bounds.Y;
bar.X = (i * (bar.Width + spaceBetweenBars)) + Boundaries.X;
bar.Y = Boundaries.Y;
bar.Height = barValue[i];
rectangleRenderer.Draw(bar.X, bar.Y, bar.Width, bar.Height, color);