mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-23 18:54:54 +08:00
Update apps/pdfeditor/main/app/controller/InsTab.js
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user