This commit is contained in:
Nicolas Mailloux 2022-03-22 18:26:05 -04:00
parent 62b09f4062
commit b1c3fa0924

View file

@ -1026,6 +1026,9 @@ void reader::on_nextBtn_clicked()
} }
else { else {
mupdf::pdf::pdfPageNumber = mupdf::pdf::pdfPageNumber + 1; mupdf::pdf::pdfPageNumber = mupdf::pdf::pdfPageNumber + 1;
if(ui->pdfScaleSlider->value() != 0) {
mupdf::convertRelativeValues = true;
}
setup_book(book_file, mupdf::pdf::pdfPageNumber, true); setup_book(book_file, mupdf::pdf::pdfPageNumber, true);
setupPng(); setupPng();