Skip to content
Snippets Groups Projects
  1. Oct 22, 2020
  2. Oct 21, 2020
    • Sebastian Krzyszkowiak's avatar
      Merge branch 'scroll' into 'librem5-3-24-23' · 732366f0
      Sebastian Krzyszkowiak authored
      gestureswipe: Count last event when calculating velocity
      
      Closes #17
      
      See merge request Librem5/gtk!23
      732366f0
    • Alexander Mikhaylenko's avatar
      gestureswipe: Count last event when calculating velocity · 605ea940
      Alexander Mikhaylenko authored and Alice Mikhaylenko's avatar Alice Mikhaylenko committed
      The last event, matching lifting the finger/releasing the mouse button,
      is important when there's a large delay between it and the previous events,
      as in when performing a movement, stopping, then releasing fingers as
      opposed to doing a swipe.
      
      If this event is skipped, doing this will result in kinetic deceleration
      matching the previous finger movement, while the expected behavior would
      be no deceleration.
      
      See also 97f54062 for a similar fix in
      GtkEventControllerScroll.
      605ea940
  3. Oct 08, 2020