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

Add support for custom clock renderers #9

Merged
merged 4 commits into from Jul 13, 2021

Conversation

pelmenstar1
Copy link
Contributor

This PR adds a support for custom clock renderers. A clock renderer become stateless (it was connected with the view before).
An user can easily change default clock renderer to preferred one. But the render performance may degrade a lit bit because of virtualization.

* Clock renderers become stateless
* Clock renderer of TimeRangePicker can be easily changed to custom
* Default implementation of ClockRenderer added
@Droppers
Copy link
Owner

Sorry for the delayed response, but thank you for your contribution, this is definitely a better implementation :)!

@Droppers Droppers merged commit fc3126b into Droppers:main Jul 13, 2021
@Droppers
Copy link
Owner

Let me know if you want me to release a new version :)

@pelmenstar1 pelmenstar1 deleted the custom-renderers branch July 14, 2021 16:43
@pelmenstar1
Copy link
Contributor Author

I'm working on some performance improvements and when I implement them all, I'll let you know about a need to release a new version.

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