From afa394acecb2c7fa8c9afadda1d359a485288bc5 Mon Sep 17 00:00:00 2001 From: Annamaria Sassi Date: Wed, 26 Nov 2025 13:00:39 +0100 Subject: [PATCH] Fix nuovi eventi split --- WebWindowComplex/Compo/CardSplit.razor.cs | 5 +++-- WebWindowComplex/Models/Split.cs | 21 +++---------------- WebWindowComplex/TableComp.razor | 20 ++++++++---------- WebWindowComplex/WebWindowComplex.csproj | 8 ++++++- .../WebWindowConfigurator.csproj | 7 ++++++- 5 files changed, 28 insertions(+), 33 deletions(-) diff --git a/WebWindowComplex/Compo/CardSplit.razor.cs b/WebWindowComplex/Compo/CardSplit.razor.cs index 779cefc..24ea780 100644 --- a/WebWindowComplex/Compo/CardSplit.razor.cs +++ b/WebWindowComplex/Compo/CardSplit.razor.cs @@ -22,13 +22,14 @@ namespace WebWindowComplex.Compo /// /// Lista di sash /// - [CascadingParameter(Name = "SashList")] + [Parameter] public List SashList { get; set; } = null!; + /// /// Lista di split /// - [CascadingParameter(Name = "SplitList")] + [Parameter] public List SplitList { get; set; } = null!; /// diff --git a/WebWindowComplex/Models/Split.cs b/WebWindowComplex/Models/Split.cs index edbc265..3963b80 100644 --- a/WebWindowComplex/Models/Split.cs +++ b/WebWindowComplex/Models/Split.cs @@ -20,29 +20,14 @@ namespace WebWindowComplex.Models #region Public Properties - /// - /// Larghezza gruppo split - /// - //public double Width + //public bool bIsPercentage //{ // get // { - // return m_Width; - // } - // set - // { - // m_Width = value; + // return m_bIsPercentage; // } //} - public bool bIsPercentage - { - get - { - return m_bIsPercentage; - } - } - public bool bSplitStartVert { get @@ -52,7 +37,7 @@ namespace WebWindowComplex.Models set { m_bSplitStartVert = value; - m_ParentWindow.OnUpdatePreview(m_ParentWindow.sSerialized()); + //m_ParentWindow.OnUpdatePreview(m_ParentWindow.sSerialized()); } } diff --git a/WebWindowComplex/TableComp.razor b/WebWindowComplex/TableComp.razor index 3d6fee2..91ed528 100644 --- a/WebWindowComplex/TableComp.razor +++ b/WebWindowComplex/TableComp.razor @@ -98,17 +98,15 @@ } else { - - - - - - + + } } else if (currStep == CompileStep.Sash) diff --git a/WebWindowComplex/WebWindowComplex.csproj b/WebWindowComplex/WebWindowComplex.csproj index ced4217..a5708eb 100644 --- a/WebWindowComplex/WebWindowComplex.csproj +++ b/WebWindowComplex/WebWindowComplex.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 2.7.11.2612 + 2.7.11.2613 Annamaria Sassi Egalware Componente gestione Configurazioni avanzate Window per LUX @@ -168,6 +168,12 @@ + + + + + + diff --git a/WebWindowConfigurator/WebWindowConfigurator.csproj b/WebWindowConfigurator/WebWindowConfigurator.csproj index e154130..8868f5a 100644 --- a/WebWindowConfigurator/WebWindowConfigurator.csproj +++ b/WebWindowConfigurator/WebWindowConfigurator.csproj @@ -6,7 +6,7 @@ net8.0 enable enable - 2.7.11.2612 + 2.7.11.2613 Annamaria Sassi Egalware Componente gestione JWD per LUX @@ -253,6 +253,11 @@ + + + + +