Modificata gestione joint sash

This commit is contained in:
Annamaria Sassi
2026-03-13 13:12:12 +01:00
parent 01ec96e16f
commit 36c16e58bf
5 changed files with 164 additions and 142 deletions
+8 -8
View File
@@ -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)
{