[de,pe,pdfe] minify zoom check record

This commit is contained in:
Konstantin Kireyev
2024-04-03 15:12:15 +05:00
parent 0d5528b606
commit e7bf106306
3 changed files with 3 additions and 15 deletions

View File

@ -1247,11 +1247,7 @@ define([
this.api.zoomFitToWidth();
}
} else {
if (zf > 0) {
this.api.zoom(zf);
} else {
this.api.zoom(100);
}
this.api.zoom(zf > 0 ? zf : 100);
}
value = Common.localStorage.getItem("de-show-hiddenchars");

View File

@ -956,11 +956,7 @@ define([
this.api.zoomFitToWidth();
}
} else {
if (zf > 0) {
this.api.zoom(zf);
} else {
this.api.zoom(100);
}
this.api.zoom(zf > 0 ? zf : 100);
}

View File

@ -867,11 +867,7 @@ define([
this.api.zoomFitToWidth();
}
} else {
if (zf > 0) {
this.api.zoom(zf);
} else {
this.api.zoom(100);
}
this.api.zoom(zf > 0 ? zf : 100);
}