mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-27 16:17:21 -08:00
Fix #24 (again)
This commit is contained in:
parent
dfba8eec90
commit
46c12fce8d
1 changed files with 4 additions and 1 deletions
|
@ -1034,7 +1034,7 @@ 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) {
|
if(ui->pdfScaleSlider->value() != 1) {
|
||||||
mupdf::convertRelativeValues = true;
|
mupdf::convertRelativeValues = true;
|
||||||
}
|
}
|
||||||
setup_book(book_file, mupdf::pdf::pdfPageNumber, true);
|
setup_book(book_file, mupdf::pdf::pdfPageNumber, true);
|
||||||
|
@ -1075,6 +1075,9 @@ void reader::on_previousBtn_clicked()
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
mupdf::pdf::pdfPageNumber = mupdf::pdf::pdfPageNumber - 1;
|
mupdf::pdf::pdfPageNumber = mupdf::pdf::pdfPageNumber - 1;
|
||||||
|
if(ui->pdfScaleSlider->value() != 1) {
|
||||||
|
mupdf::convertRelativeValues = true;
|
||||||
|
}
|
||||||
setup_book(book_file, mupdf::pdf::pdfPageNumber, true);
|
setup_book(book_file, mupdf::pdf::pdfPageNumber, true);
|
||||||
setupPng();
|
setupPng();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue