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 fc68003 commit c38e494
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 @@ -4959,7 +4959,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 c38e494

Please sign in to comment.