From a68b393c7fe7bf4ecd3fe40f2b96eceec89d99ff Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Thu, 12 Feb 2026 10:05:17 +0000 Subject: [PATCH] Update apps/pdfeditor/main/app/controller/InsTab.js --- apps/pdfeditor/main/app/controller/InsTab.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/pdfeditor/main/app/controller/InsTab.js b/apps/pdfeditor/main/app/controller/InsTab.js index b21445d497..2d4a2a549b 100644 --- a/apps/pdfeditor/main/app/controller/InsTab.js +++ b/apps/pdfeditor/main/app/controller/InsTab.js @@ -423,9 +423,9 @@ define([ if(statusbarController.getZoom() != stateBeforeOpenDlg.zoom) { me.api.zoom(stateBeforeOpenDlg.zoom); } - if(Math.abs(currentScroll.x - stateBeforeOpenDlg.scroll.x) > 1 || - Math.abs(currentScroll.y - stateBeforeOpenDlg.scroll.y) > 1 - ) { + if (Math.abs(currentScroll.x - stateBeforeOpenDlg.scroll.x) > 1 || + Math.abs(currentScroll.y - stateBeforeOpenDlg.scroll.y) > 1) + { me.api.scrollToXY(stateBeforeOpenDlg.scroll.x, stateBeforeOpenDlg.scroll.y); }