From 63abe7a0226e5ebb76764be8a773507c25aadb3b Mon Sep 17 00:00:00 2001 From: Annamaria Sassi Date: Thu, 5 Mar 2026 18:30:48 +0100 Subject: [PATCH] Correzione dimension di inizio split --- WebWindowComplex/Compo/CardSplit.razor.cs | 2 ++ WebWindowComplex/Models/Split.cs | 2 +- WebWindowComplex/WebWindowComplex.csproj | 9 ++++++++- WebWindowConfigurator/WebWindowConfigurator.csproj | 11 ++++++++++- 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/WebWindowComplex/Compo/CardSplit.razor.cs b/WebWindowComplex/Compo/CardSplit.razor.cs index 5a12aba..afded47 100644 --- a/WebWindowComplex/Compo/CardSplit.razor.cs +++ b/WebWindowComplex/Compo/CardSplit.razor.cs @@ -276,10 +276,12 @@ namespace WebWindowComplex.Compo //s.SetSplitStartVert((bool)e.Value); } } + await EC_ReqResetDict.InvokeAsync(new DataUpdateRes { req = DataAction.ResetDimElem }); var args = new DataUpdateSplit() { currSplit = CurrSplit }; + await EC_ReqElement.InvokeAsync(CurrSplit); await EC_UpdateSplit.InvokeAsync(args); } diff --git a/WebWindowComplex/Models/Split.cs b/WebWindowComplex/Models/Split.cs index 41b6d97..2d0e03f 100644 --- a/WebWindowComplex/Models/Split.cs +++ b/WebWindowComplex/Models/Split.cs @@ -269,7 +269,7 @@ namespace WebWindowComplex.Models Frame? frame = ParentWindow.AreaList.FirstOrDefault(); if (frame != null) { - double widthTot = SplitHorizList.First().CalculateWidthSplitGroup(frame, frame.AvailWidthArea(), new AreaFound(-1, false)).m_Dimension; + double widthTot = SplitVertList.First().CalculateWidthSplitGroup(frame, frame.AvailWidthArea(), new AreaFound(-1, false)).m_Dimension; //double widthTot = CalculateWidthArea(frame, frame.AvailWidthArea()); // Ricalcolo dimensioni aggiungendo split if (value > m_SplitVertList.Count - 1) diff --git a/WebWindowComplex/WebWindowComplex.csproj b/WebWindowComplex/WebWindowComplex.csproj index 0a73b47..7d0d906 100644 --- a/WebWindowComplex/WebWindowComplex.csproj +++ b/WebWindowComplex/WebWindowComplex.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 3.1.3.517 + 3.1.3.518 Annamaria Sassi Egalware Componente gestione Configurazioni avanzate Window per LUX @@ -282,6 +282,13 @@ + + + + + + + diff --git a/WebWindowConfigurator/WebWindowConfigurator.csproj b/WebWindowConfigurator/WebWindowConfigurator.csproj index 1369e15..f29d27b 100644 --- a/WebWindowConfigurator/WebWindowConfigurator.csproj +++ b/WebWindowConfigurator/WebWindowConfigurator.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 3.1.3.517 + 3.1.3.518 Annamaria Sassi Egalware Componente gestione JWD per LUX @@ -230,6 +230,15 @@ + + + + + + + + +