Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • libhandy libhandy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 131
    • Issues 131
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • libhandylibhandy
  • Merge requests
  • !327

paginator: Support discrete scrolling

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alexander Mikhaylenko requested to merge exalm/libhandy:wip/exalm/mouse into master Nov 15, 2019
  • Overview 20
  • Commits 2
  • Pipelines 6
  • Changes 2

Support scrolling on devices like mice. Switch a page when a scroll event arrives and add a delay to prevent too fast scrolling.

Use animation duration as a delay, but don't let it go below 250ms, mainly to ensure it still works with animations disabled.

Switch trackpoint to use discrete scrolling too, as swiping may be awkward.

Fixes #155 (closed)

Signed-off-by: Alexander Mikhaylenko alexm@gnome.org

Edited Nov 15, 2019 by Alexander Mikhaylenko
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/exalm/mouse