Merge pull request #329 from pashcovich/patch-1

Fix V3127
This commit is contained in:
Florian Küpper authored and GitHub committed 2017-10-31 13:44:25 +01:00
commit d00891dca7
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();