diff --git a/WebWindowComplex/Compo/AreaSash.razor.cs b/WebWindowComplex/Compo/AreaSash.razor.cs index 37b6dcf..62bef39 100644 --- a/WebWindowComplex/Compo/AreaSash.razor.cs +++ b/WebWindowComplex/Compo/AreaSash.razor.cs @@ -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); } diff --git a/WebWindowComplex/Models/Area.cs b/WebWindowComplex/Models/Area.cs index 835ce0e..705b349 100644 --- a/WebWindowComplex/Models/Area.cs +++ b/WebWindowComplex/Models/Area.cs @@ -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"); } } diff --git a/WebWindowComplex/WebWindowComplex.csproj b/WebWindowComplex/WebWindowComplex.csproj index 75cd3be..d5e75f9 100644 --- a/WebWindowComplex/WebWindowComplex.csproj +++ b/WebWindowComplex/WebWindowComplex.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 3.1.3.1617 + 3.1.3.1618 Annamaria Sassi Egalware Componente gestione Configurazioni avanzate Window per LUX @@ -36,3 +36,14 @@ + + + + + + + + + + + diff --git a/WebWindowConfigurator/WebWindowConfigurator.csproj b/WebWindowConfigurator/WebWindowConfigurator.csproj index 0eba16f..695abc4 100644 --- a/WebWindowConfigurator/WebWindowConfigurator.csproj +++ b/WebWindowConfigurator/WebWindowConfigurator.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 3.1.3.1617 + 3.1.3.1618 Annamaria Sassi Egalware Componente gestione JWD per LUX @@ -41,3 +41,8 @@ + + + + +