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

Track on border color uses track on fill color #2

Closed
simonbromberg opened this issue Feb 3, 2017 · 1 comment
Closed

Track on border color uses track on fill color #2

simonbromberg opened this issue Feb 3, 2017 · 1 comment

Comments

@simonbromberg
Copy link

It seems that the track on border color is set to the track on fill color. Why isn't there a separate property for this?

@Shaninnik
Copy link
Owner

Because fill-in animation for ON state is made with borderWidth transition so that the border becomes same width as button itself filling it, so border color becames fill color, and actual fill color of the layer will do nothing. It is possible to add separate 'real' border color and border, but will require adding another layer. Is it what you are looking for?

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

2 participants