]> git.eshelyaron.com Git - emacs.git/commit
Fix vertical scrolling in image-mode
authorEli Zaretskii <eliz@gnu.org>
Sat, 5 Oct 2019 08:59:55 +0000 (11:59 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 5 Oct 2019 08:59:55 +0000 (11:59 +0300)
commit9c66b09950cf2db50eb6d818656a268ef750bfe6
tree82abc06a4666fc7f4d99ebf1c0407de6cd3012f3
parentbbfa9995ff3bdb8a00fe3082bc3249cc1e68e1ab
Fix vertical scrolling in image-mode

* lisp/image-mode.el (image-set-window-vscroll): Interpret the
argument VSCROLL value in pixel units.
(image-mode-reapply-winprops): Interpret the 'vscroll'
property value in pixel units.
(image-next-line): Scroll the image with pixel resolution.
(image-eob): Set the image vscroll in pixels.  (Bug#37578)
lisp/image-mode.el