diff options
author | Po Lu <luangruo@yahoo.com> | 2021-12-02 19:35:09 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2021-12-02 19:36:33 +0800 |
commit | d45e72fe5a9205b2e146d27e8e26233ee8518331 (patch) | |
tree | 7522ff97f07dbff7d56a5019f46d3cbf87d985a2 /lisp/array.el | |
parent | aa6a05c146e94c0afc35b5354d68da55aecb2db7 (diff) | |
download | emacs-d45e72fe5a9205b2e146d27e8e26233ee8518331.tar.gz emacs-d45e72fe5a9205b2e146d27e8e26233ee8518331.tar.bz2 emacs-d45e72fe5a9205b2e146d27e8e26233ee8518331.zip |
Improve momentum scrolling algorithm
* lisp/pixel-scroll.el (pixel-scroll-precision-momentum-tick):
(pixel-scroll-precision-momentum-factor): New user options.
(pixel-scroll-kinetic-state, pixel-scroll-accumulate-velocity):
Set scroll momentum ring size to 10.
(pixel-scroll-start-momentum): Improve algorithm.
Diffstat (limited to 'lisp/array.el')
0 files changed, 0 insertions, 0 deletions