Modificata gestione joint sash
This commit is contained in:
@@ -156,10 +156,10 @@ namespace WebWindowComplex.Models
|
||||
}
|
||||
SashList.Add(addSashDim);
|
||||
}
|
||||
if (frame != null && (frame.SelShapeIndex == (int)Shapes.ARC
|
||||
|| frame.SelShapeIndex == (int)Shapes.DOUBLEARC
|
||||
|| frame.SelShapeIndex == (int)Shapes.ARC_FULL
|
||||
|| frame.SelShapeIndex == (int)Shapes.THREECENTERARC))
|
||||
if (m_CurrShape == "FullArc" ||
|
||||
m_CurrShape == "Arc" ||
|
||||
m_CurrShape == "SemiFullArc" ||
|
||||
m_CurrShape == "SemiArc")
|
||||
{
|
||||
if (SashList.ElementAt(value - 2) != null)
|
||||
SashList.ElementAt(value - 2)!.JointList.ElementAt(2).SelJointTypeIndex = (int)Joints.FULL_V;
|
||||
@@ -215,10 +215,10 @@ namespace WebWindowComplex.Models
|
||||
{
|
||||
SashList.RemoveAt(0);
|
||||
}
|
||||
if (frame != null && (frame.SelShapeIndex == (int)Shapes.ARC
|
||||
|| frame.SelShapeIndex == (int)Shapes.DOUBLEARC
|
||||
|| frame.SelShapeIndex == (int)Shapes.ARC_FULL
|
||||
|| frame.SelShapeIndex == (int)Shapes.THREECENTERARC))
|
||||
if (m_CurrShape == "FullArc" ||
|
||||
m_CurrShape == "Arc" ||
|
||||
m_CurrShape == "SemiFullArc" ||
|
||||
m_CurrShape == "SemiArc")
|
||||
{
|
||||
if (SashList.LastOrDefault() != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user