Modificato aggiornamento dimensioni split a causa di una variazione delle dimensioni del frame
This commit is contained in:
@@ -182,7 +182,7 @@ namespace WebWindowComplex.Models
|
||||
if (m_Shape != (Shapes)value)
|
||||
{
|
||||
Shapes oldShape = m_Shape;
|
||||
Shapes SelShape = (Shapes)value;
|
||||
m_Shape = (Shapes)value;
|
||||
// salvo vecchie dimensioni
|
||||
List<FrameDimension> oldDimensionList = new List<FrameDimension>(DimensionList);
|
||||
// verifico parametri Dimension
|
||||
@@ -190,7 +190,7 @@ namespace WebWindowComplex.Models
|
||||
//double widthVal = oldDimensionList.Where(x => x.sName.Equals("Width")).Select(x => x.dValue).First();
|
||||
double widthVal = oldDimensionList.Where(x => x.sName.Equals("Width")).Select(x => x.dDimension).First();
|
||||
// aggiungo Dimensioni
|
||||
switch (SelShape)
|
||||
switch (m_Shape)
|
||||
{
|
||||
case Shapes.RECTANGLE:
|
||||
case Shapes.ARC_FULL:
|
||||
@@ -277,7 +277,7 @@ namespace WebWindowComplex.Models
|
||||
SearchSash(sashList, this);
|
||||
// aggiungo Joint
|
||||
m_JointList.Clear();
|
||||
switch (SelShape)
|
||||
switch (m_Shape)
|
||||
{
|
||||
case Shapes.RECTANGLE:
|
||||
case Shapes.RIGHTCHAMFER:
|
||||
@@ -353,7 +353,6 @@ namespace WebWindowComplex.Models
|
||||
// break;
|
||||
// }
|
||||
//}
|
||||
m_Shape = SelShape;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user