Fix bug 80129

This commit is contained in:
nikita_bartoshuk
2026-03-02 13:03:49 +03:00
committed by Maxim Kadushkin
parent 4f2bf02a6c
commit dfaf2adc68

View File

@ -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");