mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Don't pan horizontally when a pinch gesture represents a shrink
* lisp/touch-screen.el (touch-screen-pinch): Don't pan left if the event represents a shrink.
This commit is contained in:
parent
dd0f009c51
commit
076c5f1f17
1 changed files with 1 additions and 1 deletions
|
|
@ -952,7 +952,7 @@ text scale by the ratio therein."
|
|||
;; and Emacs can hscroll left even when no lines are
|
||||
;; truncated.
|
||||
(unless (and (< x-accumulator 0)
|
||||
(< ratio-diff -0.2))
|
||||
(< ratio-diff 0))
|
||||
(if (> x-accumulator 0)
|
||||
(scroll-right 1)
|
||||
(scroll-left 1)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue