Skip to content

Commit

Permalink
make CmdScrollUpHalfPage in single page view go to previous page, not…
Browse files Browse the repository at this point in the history
… next (fixes #3862)
  • Loading branch information
kjk committed Nov 10, 2023
1 parent 8674e25 commit a6b404b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SumatraPDF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4967,7 +4967,7 @@ static LRESULT FrameOnCommand(MainWindow* win, HWND hwnd, UINT msg, WPARAM wp, L
SendMessageW(win->hwndCanvas, WM_VSCROLL, SB_HALF_PAGEUP, 0);
} else {
// in single page view, scrolls by page
win->ctrl->GoToNextPage();
win->ctrl->GoToPrevPage();
}
} break;

Expand Down

0 comments on commit a6b404b

Please sign in to comment.