fix: textile artwork can no longer be mirrored
Some checks failed
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Failing after 4m26s
Build and deploy / Publish images (push) Has been skipped
Some checks failed
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Failing after 4m26s
Build and deploy / Publish images (push) Has been skipped
A textile transfer is pressed face down, so a mirrored one prints backwards on the garment (Dropstar, 2026-10-21). The Site no longer offers "Espelhar" on textile artwork and the server refuses a mirrored textile layout. UV keeps the button until Dropstar decides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -529,10 +529,14 @@ function pintaProgressoArte(a){
|
||||
if(!barra){ pintaArtes(); return; }
|
||||
barra.style.width=a.lendo+'%'; if(texto) texto.textContent='arquivo grande · gerando a prévia · '+faltaLeitura(a.leitura);
|
||||
}
|
||||
// O transfer têxtil é prensado com o filme virado para baixo: espelhado, sai
|
||||
// invertido na peça. Só o UV espelha, até a Dropstar decidir (21/10/2026).
|
||||
const espelhavel=()=>modo==='uv';
|
||||
function pintaArtes(){
|
||||
// A file still being read when the customer left the product page lands
|
||||
// here with no product open: nothing to paint.
|
||||
if(!MODOS[modo]) return;
|
||||
if(!espelhavel()) artes.forEach(a=>{ a.esp=false; });
|
||||
invalidaItemAtual();
|
||||
$('zona').classList.toggle('compacta', artes.length>0);
|
||||
// The same card as a finished sheet: thumbnail, size, a DPI chip, then the
|
||||
@@ -589,7 +593,7 @@ function pintaArtes(){
|
||||
'<button type="button" data-passoa="1" data-i="'+i+'" aria-label="Mais uma cópia">+</button></span></div>'+
|
||||
'<span class="giros">'+
|
||||
'<button class="gr'+(a.giro?' on':'')+'" data-giro="'+i+'" title="Girar 90°" aria-label="Girar 90°">'+icone('girar')+'</button>'+
|
||||
'<button class="gr'+(a.esp?' on':'')+'" data-esp="'+i+'" title="Espelhar" aria-label="Espelhar">'+icone('espelhar')+'</button></span>'+
|
||||
(espelhavel() ? '<button class="gr'+(a.esp?' on':'')+'" data-esp="'+i+'" title="Espelhar" aria-label="Espelhar">'+icone('espelhar')+'</button>' : '')+'</span>'+
|
||||
(sub? '<div class="conta">'+sub+'</div>' : '')+
|
||||
'<div class="atalhos">'+(TAMANHOS[larguraFilme()]||[]).map(t=>'<button class="tm'+
|
||||
(Math.abs(a.cm-t)<0.05?' on':'')+'" data-tam="'+i+'" data-t="'+t+'">'+n1(t)+' cm</button>').join('')+'</div>'+
|
||||
|
||||
Reference in New Issue
Block a user