GNOME Bugzilla – Bug 640494
swipe-scrolling: Take threshold into account during drag
Last modified: 2011-01-25 09:32:29 UTC
See patch.
Created attachment 179258 [details] [review] swipe-scrolling: Take threshold into account during drag On button-release, a threshold is used to determine if the gesture should be considered a click and thus ignored. While the drag is active though, the controlled actor is dragged immediately. As a result, dragging by a tiny amount does not trigger a snap back when the action is interpreted as a click. As a fix, do not update the dragged actor's position until the same threshold is passed.
Review of attachment 179258 [details] [review]: I was worried that this would feel bad and take away from the immediacy of the gesture, but at least as far as I can tell with a trackpoint it's barely noticeable and the code makes sense.
Attachment 179258 [details] pushed as eb8fc73 - swipe-scrolling: Take threshold into account during drag