Wizard: chiusura in più nella Prova tolta, percentuale del DXF rispetto ad Adatta (Refs #122)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019A9CSrh9rfM5WwqKtg8BSE
This commit is contained in:
2026-10-28 22:15:55 +01:00
parent f44b578d5b
commit 5897a9e5df
2 changed files with 3 additions and 3 deletions
@@ -337,7 +337,8 @@
var z = this._z; var z = this._z;
this._stage.style.width = this._w && z ? (this._w * z) + 'px' : '0px'; this._stage.style.width = this._w && z ? (this._w * z) + 'px' : '0px';
this._stage.style.height = this._w && z ? (this._h * z) + 'px' : '0px'; this._stage.style.height = this._w && z ? (this._h * z) + 'px' : '0px';
this._pctEl.textContent = TmfViewerMath.pct(z); // #122: modo contenuto (DXF in mm) = percentuale rispetto ad Adatta; immagine = 100 % un pixel per pixel
this._pctEl.textContent = TmfViewerMath.pct(!this._hasSrc() && this._content && this._fit ? z / this._fit : z);
this._drawOverlay(); this._drawOverlay();
this._drawLabels(); this._drawLabels();
this._cursor(); this._cursor();
@@ -796,8 +796,7 @@
title-in="{{ _('Ingrandisci') }}" title-out="{{ _('Riduci') }}" title-save="{{ _('Salva immagine') }}" title-in="{{ _('Ingrandisci') }}" title-out="{{ _('Riduci') }}" title-save="{{ _('Salva immagine') }}"
class="rounded border border-[var(--border-color)]" class="rounded border border-[var(--border-color)]"
style="background: var(--bg-primary);"></tmf-viewer> style="background: var(--bg-primary);"></tmf-viewer>
</div> </div>{# #122: chiude solo la colonna dell'immagine (una chiusura in piu' chiudeva la griglia) #}
</div>
<div class="space-y-2"> <div class="space-y-2">
<p x-show="error" class="text-xs text-red-500" x-text="error"></p> <p x-show="error" class="text-xs text-red-500" x-text="error"></p>
<p x-show="notice" class="text-xs text-emerald-600" x-text="notice"></p> <p x-show="notice" class="text-xs text-emerald-600" x-text="notice"></p>