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

Limit the amounts of events created [wip] #274

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NickeZ
Copy link
Collaborator

@NickeZ NickeZ commented Dec 24, 2019

No description provided.

Currently there are some UI glitches due to missed events. This patch
will limit the amount of events that are emitted by checking at which
systick the same event was emitted last time.

Fixes the UI glitch with the long press in the PW entry.
@codecov-io
Copy link

Codecov Report

Merging #274 into master will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #274      +/-   ##
==========================================
+ Coverage   40.61%   40.68%   +0.07%     
==========================================
  Files          94       95       +1     
  Lines        5341     5348       +7     
==========================================
+ Hits         2169     2176       +7     
  Misses       3172     3172
Impacted Files Coverage Δ
src/touch/gestures.c 96.19% <100%> (+0.11%) ⬆️
src/systick.c 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c75311...a9638ef. Read the comment docs.

@NickeZ
Copy link
Collaborator Author

NickeZ commented Jan 6, 2020

I can't reproduce the issue right now. We will have to wait with reviewing this issue until we can reliably reproduce it. I did manage to see the issue when I wrote the fix.

@NickeZ NickeZ changed the title Fix gestures Limit the amounts of events created Jan 8, 2020
@NickeZ NickeZ changed the title Limit the amounts of events created Limit the amounts of events created [wip] Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants