Fix V3127

Two similar code fragments were found. Perhaps, this is a typo and 'Y' variable should be used instead of 'X' VocaluxeLib CSingNotes.cs 117
This commit is contained in:
Ilya Sosnovsky authored and GitHub committed 2017-10-31 14:39:00 +03:00
1 parent ae5a463a04
commit 7f2d7f576a
1 file changed
+1 -1
+1 -1
View File
@@ -114,7 +114,7 @@ namespace VocaluxeLib.Menu.SingNotes
else else
{ {
_Rect.X = PlayerNotes.Select(bp => bp.Rect.X).Min(); _Rect.X = PlayerNotes.Select(bp => bp.Rect.X).Min();
_Rect.Y = PlayerNotes.Select(bp => bp.Rect.X).Min(); _Rect.Y = PlayerNotes.Select(bp => bp.Rect.Y).Min();
_Rect.Right = PlayerNotes.Select(bp => bp.Rect.Right).Max(); _Rect.Right = PlayerNotes.Select(bp => bp.Rect.Right).Max();
_Rect.Bottom = PlayerNotes.Select(bp => bp.Rect.Bottom).Max(); _Rect.Bottom = PlayerNotes.Select(bp => bp.Rect.Bottom).Max();
_Rect.Z = PlayerNotes.Select(bp => bp.Rect.Z).Average(); _Rect.Z = PlayerNotes.Select(bp => bp.Rect.Z).Average();