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

[AIClock] Added clkinfos #2349

Merged
merged 2 commits into from
Dec 5, 2022
Merged

[AIClock] Added clkinfos #2349

merged 2 commits into from
Dec 5, 2022

Conversation

peerdavid
Copy link
Contributor

This PR adds clkinfo to the AIClock. As I prefer touch events rather then gestures (which I use for pattern launch) I implemented it classical and not via addInteractive.

I also updated some "base" icons which are currently used by BWClock and AIClock as the coloring was for some reasons not correct -- now it seems to work fine for both clocks.

@thyttan
Copy link
Collaborator

thyttan commented Dec 4, 2022

the coloring was for some reasons not correct -- now it seems to work fine for both clocks.

I suspect it had to do with this (comment)?

@peerdavid
Copy link
Contributor Author

the coloring was for some reasons not correct -- now it seems to work fine for both clocks.

I suspect it had to do with this (comment)?

Yea true I simply copied things from BW -- now it should be fine :)

@gfwilliams
Copy link
Member

Looks great, thanks for tweaking those icons too!

If you're finding that you're duplicating that clkinfo navigation code for your clocks then we could always add that to the library as well? I guess at some point we could look at making the interaction mode configurable

@gfwilliams gfwilliams merged commit 4249f63 into espruino:master Dec 5, 2022
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.

3 participants