AssetBundleGraph.AssetBundleGraphEditorWindow.UpdateSpacerRect C# (CSharp) Method

UpdateSpacerRect() private method

private UpdateSpacerRect ( ) : void
return void
        private void UpdateSpacerRect()
        {
            var rightPoint = nodes.OrderByDescending(node => node.GetRightPos()).Select(node => node.GetRightPos()).ToList()[0] + AssetBundleGraphSettings.WINDOW_SPAN;
            if (rightPoint < spacerRectRightBottom.x) rightPoint = spacerRectRightBottom.x;

            var bottomPoint = nodes.OrderByDescending(node => node.GetBottomPos()).Select(node => node.GetBottomPos()).ToList()[0] + AssetBundleGraphSettings.WINDOW_SPAN;
            if (bottomPoint < spacerRectRightBottom.y) bottomPoint = spacerRectRightBottom.y;

            spacerRectRightBottom = new Vector2(rightPoint, bottomPoint);
        }