Fix: Positioning of Notelines

Notelines rect was top adjusted to a calculated center position making
the lines slightly offset downwards.
This commit is contained in:
Jiiniasu committed 2017-01-07 12:01:23 +01:00
1 parent e095cc090b
commit 25d98d5134
1 file changed
+1 -1
+1 -1
View File
@@ -194,7 +194,7 @@ namespace VocaluxeLib.Menu.SingNotes
lineRect.H = 1.5f;
for (int i = 0; i < CBase.Settings.GetNumNoteLines(); i++)
{
lineRect.Y = Rect.Y + Rect.H / CBase.Settings.GetNumNoteLines() * (i + 1);
lineRect.Y = (Rect.Y + Rect.H / CBase.Settings.GetNumNoteLines() * (i + 1)) - (lineRect.H / 2);
CBase.Drawing.DrawRect(color, lineRect);
}
}