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:
@@ -337,7 +337,8 @@
|
||||
var z = this._z;
|
||||
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._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._drawLabels();
|
||||
this._cursor();
|
||||
|
||||
@@ -796,8 +796,7 @@
|
||||
title-in="{{ _('Ingrandisci') }}" title-out="{{ _('Riduci') }}" title-save="{{ _('Salva immagine') }}"
|
||||
class="rounded border border-[var(--border-color)]"
|
||||
style="background: var(--bg-primary);"></tmf-viewer>
|
||||
</div>
|
||||
</div>
|
||||
</div>{# #122: chiude solo la colonna dell'immagine (una chiusura in piu' chiudeva la griglia) #}
|
||||
<div class="space-y-2">
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user