diff --git a/VocaluxeLib/Menu/SingNotes/CNoteBars.cs b/VocaluxeLib/Menu/SingNotes/CNoteBars.cs index efced613..fd086d04 100644 --- a/VocaluxeLib/Menu/SingNotes/CNoteBars.cs +++ b/VocaluxeLib/Menu/SingNotes/CNoteBars.cs @@ -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);