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(snapshot): make fake display size big enough to avoid align issue. #2883

Merged
merged 1 commit into from Dec 8, 2021

Conversation

XuNeo
Copy link
Collaborator

@XuNeo XuNeo commented Dec 6, 2021

Snapshot may be different than content on display

As discussed in #2593 , we cannot avoid this issue, but can improve most cases to make snapshot as close to real content on display.

Below is the result of making this change using lv_example_snapshot_1()

image

Checkpoints

  • Follow the styling guide
  • Run code-format.py from the scripts folder. astyle needs to be installed.
  • Update the documentation

Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
Change-Id: I5a5e39f15b816bc281a6b9fb348a2adebb947368
@kisvegabor
Copy link
Member

It still doesn't solve the issue if the object is clipped on the left or top, but surely fixes some common use cases.

Thank you!

@kisvegabor kisvegabor merged commit a2e4dfd into lvgl:master Dec 8, 2021
@XuNeo XuNeo deleted the fix-snapshot-coords branch June 27, 2023 01:58
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