Fix layer actions and add reusable color editors

This commit is contained in:
livio committed 2026-09-25 15:40:20 +02:00
1 parent cfba1b998b
commit 00053e4d5f
7 files changed
+254 -37

No files matched your search

+5 -5
View File
@@ -81,7 +81,7 @@
<input type="checkbox" @bind="ShowSelectedParcels" @bind:after="ApplySelectedParcelsVisibility" />
<span>
<strong>Particelle catastali evidenziate</strong>
<small>Contorni rossi ottenuti da ricerca o GPS</small>
<small>Contorni ottenuti da ricerca o GPS</small>
</span>
</label>
<label class="map-layer-option">
@@ -292,7 +292,7 @@
</label>
<label class="toggle-line project-save-option">
<input type="checkbox" @bind="ExportCadastral" @bind:after="SaveFlagPreferences" />
<span>Particelle catastali rosse e GPS</span>
<span>Particelle catastali evidenziate e GPS</span>
</label>
<label class="toggle-line project-save-option">
<input type="checkbox" @bind="ExportDrawings" @bind:after="SaveFlagPreferences" />
@@ -327,7 +327,7 @@
</label>
<label class="toggle-line project-save-option">
<input type="checkbox" @bind="IncludeCadastralParcels" @bind:after="SaveFlagPreferences" />
<span>Includi le particelle catastali rosse</span>
<span>Includi le particelle catastali evidenziate</span>
</label>
<button class="primary-command" @onclick="SaveProject" disabled="@(ProjectBusy || string.IsNullOrWhiteSpace(NewProjectName))">Salva progetto</button>
</section>
@@ -1558,8 +1558,8 @@
await JS.InvokeVoidAsync(
"lmeMap.showInfo",
IncludeCadastralParcels
? $"Progetto salvato: {saved.Name}, incluse le particelle rosse."
: $"Progetto salvato: {saved.Name}, senza particelle rosse.");
? $"Progetto salvato: {saved.Name}, incluse le particelle catastali evidenziate."
: $"Progetto salvato: {saved.Name}, senza particelle catastali evidenziate.");
}
catch (Exception error)
{