mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-23 13:50:46 +08:00
Fix bug 80129
This commit is contained in:
committed by
Maxim Kadushkin
parent
4f2bf02a6c
commit
dfaf2adc68
@ -1334,19 +1334,18 @@ define([
|
||||
} else if (zf == -3) {
|
||||
if (lastZoom > 0) {
|
||||
this.api.zoom(lastZoom);
|
||||
|
||||
if (Common.localStorage.getBool("de-zoom-multipage", false)) {
|
||||
this.api.zoomCustomMode();
|
||||
this.api.SetMultipageViewMode(true);
|
||||
}
|
||||
} else if (lastZoom == -1) {
|
||||
this.api.zoomFitToPage();
|
||||
} else if (lastZoom == -2) {
|
||||
this.api.zoomFitToWidth();
|
||||
}
|
||||
} else {
|
||||
if (Common.localStorage.getBool("de-zoom-multipage", false)) {
|
||||
this.api.zoomCustomMode();
|
||||
this.api.SetMultipageViewMode(true);
|
||||
|
||||
if ( lastZoom > 0 ) this.api.zoom(lastZoom);
|
||||
} else
|
||||
this.api.zoom(zf > 0 ? zf : 100);
|
||||
this.api.zoom(zf > 0 ? zf : 100);
|
||||
}
|
||||
|
||||
value = Common.localStorage.getItem("de-show-hiddenchars");
|
||||
|
||||
Reference in New Issue
Block a user