From 25d98d5134f150b255bb309392ac611058aa0747 Mon Sep 17 00:00:00 2001 From: Jiiniasu Date: Sat, 7 Jan 2017 12:01:23 +0100 Subject: [PATCH] Fix: Positioning of Notelines Notelines rect was top adjusted to a calculated center position making the lines slightly offset downwards. --- VocaluxeLib/Menu/SingNotes/CNoteBars.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VocaluxeLib/Menu/SingNotes/CNoteBars.cs b/VocaluxeLib/Menu/SingNotes/CNoteBars.cs index fd086d04..b695b6fe 100644 --- a/VocaluxeLib/Menu/SingNotes/CNoteBars.cs +++ b/VocaluxeLib/Menu/SingNotes/CNoteBars.cs @@ -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); } }