Correzioni
This commit is contained in:
@@ -271,7 +271,7 @@ namespace WebWindowComplex.Models
|
||||
AreaList.Add(Splitted.CreateSplitted(this));
|
||||
}
|
||||
// Riaggiungo i sottoalberi che avevo salvato
|
||||
for (int i = 0; i < AreaList.Count - 1; i++)
|
||||
for (int i = 0; i <= ContentArea.Count - 1; i++)
|
||||
{
|
||||
if (AreaList.Count == 2)
|
||||
{
|
||||
@@ -280,9 +280,12 @@ namespace WebWindowComplex.Models
|
||||
AreaList[i].AreaList.Add(ContentArea[i]);
|
||||
}
|
||||
// Aggiungo all'ultimo Splitted l'area di vetro
|
||||
Fill newFill = Fill.CreateFill(AreaList[1], FillTypes.GLASS);
|
||||
newFill.SetAreaType(AreaTypes.FILL);
|
||||
AreaList[AreaList.Count - 1].AreaList.Add(newFill);
|
||||
for(int k = ContentArea.Count; k <= AreaList.Count - 1; k++)
|
||||
{
|
||||
Fill newFill = Fill.CreateFill(AreaList[k], FillTypes.GLASS);
|
||||
newFill.SetAreaType(AreaTypes.FILL);
|
||||
AreaList[k].AreaList.Add(newFill);
|
||||
}
|
||||
}
|
||||
// Se tolgo anta
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user