diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/setup/ciclo/components/base-components/SVG-Components/SVGcaricatore.ts b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/ciclo/components/base-components/SVG-Components/SVGcaricatore.ts index 4cc0ce1c..daf03936 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/setup/ciclo/components/base-components/SVG-Components/SVGcaricatore.ts +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/setup/ciclo/components/base-components/SVG-Components/SVGcaricatore.ts @@ -42,8 +42,8 @@ export default class SVGCaricatore extends Vue{ minoreuguale:string="<="; getPositionSheet(id,col){ - var vent = ((this.larghTelaioSVG + (this.dimVentose*2)) / (this.numVentose +1)); - var posX = (id*vent ) - (this.dimVentose*2); + var vent = (this.larghTelaioSVG - (this.dimVentose*2)) / (this.numVentose -1); + var posX = (id-1)*vent; if(col == 1) return "translate(-630 -147) translate(50 25) translate(580 122) translate(0 70) translate(0 0) translate("+ posX + ")"; else if(col == 2)