Gestione joint sash con aggiunta split nel frame
This commit is contained in:
@@ -202,7 +202,9 @@ namespace WebWindowComplex.Compo
|
||||
if (frame != null && (frame.Shape is Json.WindowConst.Shapes.ARC ||
|
||||
frame.Shape is Json.WindowConst.Shapes.ARC_FULL ||
|
||||
frame.Shape is Json.WindowConst.Shapes.DOUBLEARC ||
|
||||
frame.Shape is Json.WindowConst.Shapes.THREECENTERARC))
|
||||
frame.Shape is Json.WindowConst.Shapes.THREECENTERARC) &&
|
||||
(CurrSashGroup.ParentArea.ParentArea is Split &&
|
||||
CurrSashGroup.ParentArea.ParentArea.AreaList.LastOrDefault().AreaList.FirstOrDefault().Equals(CurrSashGroup)))
|
||||
{
|
||||
if(CurrSashGroup.SashList.Count == 1)
|
||||
{
|
||||
@@ -221,6 +223,8 @@ namespace WebWindowComplex.Compo
|
||||
CurrSashDim.JointList.ElementAt(i).SelJointType = JointType;
|
||||
}
|
||||
}
|
||||
else
|
||||
CurrSashDim.JointList.ElementAt(i).SelJointType = JointType;
|
||||
}
|
||||
return EC_UpdateSashDim.InvokeAsync(CurrSashDim);
|
||||
}
|
||||
|
||||
@@ -184,6 +184,18 @@ namespace WebWindowComplex.Models
|
||||
Frame frame = ParentWindow.AreaList.First();
|
||||
if(frame != null)
|
||||
{
|
||||
// Aggiorno joint di tutte le ante
|
||||
if(AreaList.FirstOrDefault()!.AreaList.FirstOrDefault().AreaList.FirstOrDefault() is Sash)
|
||||
{
|
||||
Sash sash = (Sash)AreaList.FirstOrDefault()!.AreaList.FirstOrDefault().AreaList.FirstOrDefault();
|
||||
foreach(var anta in sash.SashList)
|
||||
{
|
||||
foreach (var j in anta.JointList)
|
||||
j.SelJointType = anta.JointList.FirstOrDefault().SelJointType;
|
||||
}
|
||||
|
||||
}
|
||||
// Aggiorno altezza sotto aree
|
||||
frame.SearchAreaList(frame, frame.AvailHeightArea(), "Height");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>3.1.3.1617</Version>
|
||||
<Version>3.1.3.1618</Version>
|
||||
<Authors>Annamaria Sassi</Authors>
|
||||
<Company>Egalware</Company>
|
||||
<Description>Componente gestione Configurazioni avanzate Window per LUX</Description>
|
||||
@@ -36,3 +36,14 @@
|
||||
</Project>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user