]> git.eshelyaron.com Git - emacs.git/commit
Increase size of precision scrolling momentum ring
authorPo Lu <luangruo@yahoo.com>
Sat, 1 Jan 2022 11:33:01 +0000 (19:33 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 1 Jan 2022 11:35:12 +0000 (19:35 +0800)
commit4dce09db18a6f1a0e3d8a4b6f55b694af1a218ad
tree2cce1366e2d1eb1fe54702120ae2378f2e81f56f
parent748e670d5dc841824b42ccf83f5b8fd75bd20b81
Increase size of precision scrolling momentum ring

* lisp/pixel-scroll.el
(pixel-scroll-precision-initial-velocity-factor): Fix
calculation of last timestamp.
(pixel-scroll-precision):
(pixel-scroll-kinetic-state):
(pixel-scroll-accumulate-velocity):
(pixel-scroll-start-momentum):
(pixel-scroll-calculate-velocity): Increase default ring size
to 30.
lisp/pixel-scroll.el