mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 07:37: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 {
|
||||
mupdf::pdf::pdfPageNumber = mupdf::pdf::pdfPageNumber + 1;
|
||||
if(ui->pdfScaleSlider->value() != 0) {
|
||||
if(ui->pdfScaleSlider->value() != 1) {
|
||||
mupdf::convertRelativeValues = true;
|
||||
}
|
||||
setup_book(book_file, mupdf::pdf::pdfPageNumber, true);
|
||||
|
@ -1075,6 +1075,9 @@ void reader::on_previousBtn_clicked()
|
|||
}
|
||||
else {
|
||||
mupdf::pdf::pdfPageNumber = mupdf::pdf::pdfPageNumber - 1;
|
||||
if(ui->pdfScaleSlider->value() != 1) {
|
||||
mupdf::convertRelativeValues = true;
|
||||
}
|
||||
setup_book(book_file, mupdf::pdf::pdfPageNumber, true);
|
||||
setupPng();
|
||||
|
||||
|
|
Loading…
Reference in a new issue