From fa22eac8c8077e1f0f144d339d7183a331f7cf2f Mon Sep 17 00:00:00 2001
From: "hamza.hramchi" <hamza.hramchi@xelians.fr>
Date: Fri, 4 Jun 2021 10:39:12 +0200
Subject: [PATCH] FEAT #17143 TIME 0:30 Positioning the signature
 pre-positioning square at the bottom right of the document

---
 .../signature-position/signature-position.component.ts      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/frontend/app/indexation/signature-position/signature-position.component.ts b/src/frontend/app/indexation/signature-position/signature-position.component.ts
index 2b30ac85a6..6ca9c60b26 100644
--- a/src/frontend/app/indexation/signature-position/signature-position.component.ts
+++ b/src/frontend/app/indexation/signature-position/signature-position.component.ts
@@ -118,12 +118,12 @@ export class SignaturePositionComponent implements OnInit {
                 sequence: this.currentUser,
                 page: this.currentPage,
                 position: {
-                    positionX: 0,
-                    positionY: 0
+                    positionX: 80,
+                    positionY: 100
                 }
             }
         );
-        document.getElementsByClassName('drag-scroll-content')[0].scrollTop = 0;
+        document.getElementsByClassName('drag-scroll-content')[0].scrollTop = this.workingAreaHeight;
     }
 
     getUserSignPosPage(workflowIndex: number) {
-- 
GitLab