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

Different color for progress marks #21

Open
andre-vm opened this issue Oct 16, 2019 · 1 comment
Open

Different color for progress marks #21

andre-vm opened this issue Oct 16, 2019 · 1 comment

Comments

@andre-vm
Copy link

Hi! Thank you for this nice library!
It almost fits my needs, but I need different colors for the marks ahead and behind the thumb. I suggest adding a new attribute called tsb_tick_marks_progress_color (or similar, maybe this is too big) for the color of the marks behind the thumb and keep tsb_tick_marks_color for the color of the ones ahead of it. When not specified, tsb_tick_marks_progress_color may have the same value as tsb_tick_marks_color.

@andre-vm
Copy link
Author

andre-vm commented Oct 16, 2019

My bad! Just realized I can use a color selector to make this distinction. state_selected=true sets the color of marks behind the thumb.

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

No branches or pull requests

1 participant