Increase PageUp/Down overlap

The original 50% value seems arbitrary and needless. I would like to use
75%, personally. This commit sets the maximum to 99%.
This commit is contained in:
Ari Iramanesh 2022-02-25 11:24:42 -08:00
parent fd1c312d57
commit aa66a9b964

View File

@ -183,7 +183,7 @@ DlgGeneral::DlgGeneral(QWidget *parent, Okular::EmbedMode embedMode)
// Spinbox: page up/down overlap
QSpinBox *pageUpDownOverlap = new QSpinBox(this);
pageUpDownOverlap->setMinimum(0);
pageUpDownOverlap->setMaximum(50);
pageUpDownOverlap->setMaximum(99);
pageUpDownOverlap->setSingleStep(5);
pageUpDownOverlap->setSuffix(i18nc("Page Up/Down overlap, spinbox suffix", "%"));
pageUpDownOverlap->setToolTip(i18nc("@info:tooltip Config dialog, general page", "Defines how much of the current viewing area will still be visible when pressing the Page Up/Down keys."));