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

Fix app loading and event management in DisplayApp #1054

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

JF002
Copy link
Collaborator

@JF002 JF002 commented Mar 27, 2022

In display app, call the event handler of the current app before loading the new one. This way, we ensure that lv_task_refresh() is called before sending event to the newly loaded app.

Fix #1023

… the new one. This way, we ensure that lv_task_handler() is called before sending event to the newly loaded app.
@JF002 JF002 added this to the 1.9.0 milestone Mar 27, 2022
Copy link
Contributor

@Riksu9000 Riksu9000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is only used in paint and paddle and both work perfectly.

@JF002 JF002 merged commit 4761fcb into develop Mar 28, 2022
@Avamander Avamander deleted the fix-display-shift-when-long-press-infinipaint branch September 27, 2022 21:28
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.

Long pressing paint app moves the screen
2 participants