arreglado el error en la vista

This commit is contained in:
2025-01-23 23:38:11 +01:00
parent 910df7b822
commit 900400f494

View File

@ -115,7 +115,7 @@ class previewFormas {
//console.log(pvObj);
// Printing shape definition
this.pvObj.anchoForma = (_isCosido) ? 2 * this.pvObj.anchoLibro : this.pvObj.anchoLibro;
this.pvObj.anchoForma = parseInt(_isCosido) ? 2 * this.pvObj.anchoLibro : this.pvObj.anchoLibro;
this.pvObj.altoForma = this.pvObj.altoLibro;