Selecting Position will not scroll the current image up

This commit is contained in:
GarcaMan 2021-11-24 20:22:10 +00:00
parent a8689ae26b
commit 7fc04b353b

View File

@ -665,6 +665,9 @@ function init(filename) {
if(["hflip", "vflip", "rotateTimes"].includes(this.name)) {
//reloadImages is a slow process when multiple images are involved. Only used when rotating/mirroring
reloadImages();
} else if(this.name === "direction") {
// Skips updatePage and updateScale so that the current image doesn't scroll up
return updateProgress();
}
updatePage();