Skip to content

Add bouncing toggle for smoothed scrolling - #1172

Merged
lujjjh merged 1 commit into
mainfrom
feature/smoothed-scroll-bouncing-toggle
Apr 27, 2026
Merged

lujjjh merged 1 commit into
mainfrom
feature/smoothed-scroll-bouncing-toggle

Conversation

@lujjjh

@lujjjh lujjjh commented Apr 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add a scrolling.smoothed.bouncing option that defaults to enabled for existing behavior.
  • Suppress scroll phase and momentum phase markers when bouncing is disabled, while keeping smoothed pixel deltas and the inertia tail.
  • Add the UI toggle, localized strings, documentation/schema updates, and tests.
  • Align the documented smoothed scrolling presets with the presets supported by the Swift model.

Closes #44
Closes #1162
Closes #1137

Testing

  • node -e "JSON.parse(require('fs').readFileSync('LinearMouse/Localizable.xcstrings','utf8')); JSON.parse(require('fs').readFileSync('Documentation/Configuration.json','utf8')); console.log('json ok')"
  • xcodebuild test -scheme LinearMouse -destination 'platform=macOS' -only-testing:LinearMouseUnitTests/SmoothedScrollingTransformerTests -only-testing:LinearMouseUnitTests/ConfigurationTests

@lujjjh lujjjh added the enhancement New feature or request label Apr 25, 2026
@lujjjh
lujjjh force-pushed the feature/smoothed-scroll-bouncing-toggle branch from fcf9feb to 754d96e Compare April 25, 2026 11:11
@lujjjh
lujjjh merged commit 3ea8a0b into main Apr 27, 2026
1 check passed
@lujjjh
lujjjh deleted the feature/smoothed-scroll-bouncing-toggle branch April 27, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to turn off trackpad style smooth scrolling Smooth Scrolling [Feature Request] smooth scrolling

1 participant