Fix 1px gap in middle of certain notes
This commit is contained in:
1 parent
01e1ead0a4
commit
9cf8126603
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user