Skip to content
Commit c399a110 authored by Laura David Hurka's avatar Laura David Hurka 🐬 Committed by Nate Graham
Browse files

Fix Page Up/Down scrolling when scrollbars are turned off

PageView::slotScrollUp/Down() queried the size of the scrollbar instead of the viewport,
which has no obvious reason and doesn’t work when scrollbars are not there.

Probably the scrollbar size was thought to be more robust
in times when PageView had overshoot enabled.

Also fixes code documentation for these methods,
and removes another spaghetti feature where Continuous mode was queried
in an `if` branch before the one where it is relevant.

BUG: 421822
parent 1047fd1d
Loading
Loading
Loading
Pipeline #71490 passed with stage
in 27 minutes and 5 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment