Arreglado bug de guardas tapa dura (forma

This commit is contained in:
imnavajas
2024-02-27 19:15:24 +01:00
parent c1ff8f886a
commit ac89307a85

View File

@ -650,7 +650,16 @@ function getObjetoLP(lpName, _isCosido, _isTapaDura) {
case 'bnhq':
case 'color':
case 'colorhq':
// Conditional assignements depending on rotation of the printing shape
if (pvObj.orientacionFormas == 'v') {
let auxReg = pvObj.altoForma;
pvObj.altoForma = pvObj.anchoForma;
pvObj.anchoForma = auxReg;
}
$(pvName + '_forma').text(pvObj.anchoForma + "x" + pvObj.altoForma);
break;
case 'guardas':
pvObj.anchoForma = (_isTapaDura) ? 2 * pvObj.anchoLibro : pvObj.anchoLibro;
// Conditional assignements depending on rotation of the printing shape
if (pvObj.orientacionFormas == 'v') {
let auxReg = pvObj.altoForma;