RED-6012 - removed commented code

This commit is contained in:
Valentin Mihai 2023-05-23 22:24:05 +03:00
parent f5ad51b258
commit b520f9f43b

View File

@ -95,19 +95,16 @@ export async function stampPDFPage(
switch (orientation) {
case 'VERTICAL':
// await stamper.setAlignment(-1, 1);
await stamper.setRotation(-90);
break;
case 'HORIZONTAL':
break;
case 'TOP_LEFT':
// await stamper.setAlignment(-1, 1);
await stamper.setRotation(90);
await stamper.setPosition(20, 20);
break;
case 'DIAGONAL':
default:
// await stamper.setAlignment(0, 0);
await stamper.setRotation(-45);
}