We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7656327 commit c24aed4Copy full SHA for c24aed4
lisp/pdf-roll.el
@@ -209,6 +209,8 @@ It should be added to `pre-redisplay-functions' buffer locally."
209
(with-demoted-errors "Error in image roll pre-redisplay: %S"
210
(unless (pdf-roll-page-overlay 1 win)
211
(pdf-roll-new-window-function win))
212
+ (when (memq last-command '(pixel-scroll-precision pixel-scroll-start-momentum))
213
+ (pdf-roll-set-vscroll (window-vscroll win t) win))
214
(let* ((state (alist-get win pdf-roll--state))
215
(page (pdf-roll-current-page win))
216
(height (window-pixel-height win))
0 commit comments