main page button layout working.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user