Fix 1px gap in middle of certain notes

This commit is contained in:
Jiiniasu committed 2016-08-10 10:35:38 +02:00
1 parent 01e1ead0a4
commit 9cf8126603
1 file changed
+1 -1
+1 -1
View File
@@ -247,7 +247,7 @@ namespace VocaluxeLib.Menu.SingNotes
var middleRect = new SRectF(noteRect.X + endsW, noteRect.Y, noteRect.W - 2 * endsW, noteRect.H, noteRect.Z);
float midW = noteRect.H * noteMiddle.OrigAspect;
float midW = (float)Math.Round(noteRect.H * noteMiddle.OrigAspect);
int midCount = (int)Math.Floor(middleRect.W / midW);