Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haptics for Calendar Scroll #122

Merged
merged 4 commits into from
Sep 27, 2024

Conversation

freepicheep
Copy link
Contributor

Super simple PR for adding haptic trackpad feedback when users scroll through the calendar in boringNotch. It will respect their general preferences for enabling haptics.

I think Xcode reformatted the file, hence all the additions and deletions. I can redo the PR and try to follow the original formatting if you like.

This would close my suggestion on issue #120.

@fofsinx fofsinx added the enhancement New feature or request label Sep 25, 2024
@freepicheep
Copy link
Contributor Author

I quick changed it to use SwiftUI's sensoryFeedback instead of importing AppKit and using NSHapticFeedbackManager. I tried to follow the convention you used in the ContentView.

@richardkunkli richardkunkli merged commit 13491ff into TheBoredTeam:panda-glows Sep 27, 2024
1 check passed
@richardkunkli richardkunkli linked an issue Sep 27, 2024 that may be closed by this pull request
@freepicheep freepicheep deleted the haptic-panda branch October 1, 2024 17:56
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.

add haptic feedback for calendar scrolling
3 participants