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

Issue with wrong hours in new watch faces #272

Open
Kampi opened this issue May 13, 2024 · 4 comments
Open

Issue with wrong hours in new watch faces #272

Kampi opened this issue May 13, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Kampi
Copy link
Collaborator

Kampi commented May 13, 2024

The hours arent´set correctly. If you have a flip from i. e. 23 oclock to 5 oclock because of a watchface activation at this time points, the leading 2 isn´t deleted which results in 25 o`clock.

My guess is that this issue comes from this line in the generated code:

lv_img_set_src(face_73_2_dial_23_112986, face_73_2_dial_22_112986_group[(hour / 10) % 10]);

I think an additional else where the image source for the number 0 is loaded should fix the issue.

@Kampi Kampi added the bug Something isn't working label May 13, 2024
@jakkra
Copy link
Owner

jakkra commented May 13, 2024

Will check it out

@jakkra
Copy link
Owner

jakkra commented May 13, 2024

Your example seems to work, will debug more
Screencast from 2024-05-13 11:34:33.webm

@Kampi
Copy link
Collaborator Author

Kampi commented May 26, 2024

@jakkra I think this is already fixed, isn´t it?

@jakkra
Copy link
Owner

jakkra commented May 26, 2024

@jakkra I think this is already fixed, isn´t it?

Nope, had it yesterday. Needs debugging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants