Setting slider color at runtime

+1 vote
asked May 16, 2016 in Issue by David
Hi, i am having issues updating the color of material slider at runtime. After changing color on the slider, I have to interact with the slider for it to update to the new color. Also when setting the slider from non-intractable to intractable, left side text does not reset the alpha value (look non-intractable).

Is there a method I can call to force update the slider? During editing i can call OnEditorUpdate() witch obviously does not work on release, but a nice way to remove the symptom during development.

1 Answer

0 votes
answered May 17, 2016 by admin (31,720 points)
selected Aug 22, 2016 by admin
 
Best answer

Hey there,

This is definitely an issue, I'll make sure it's fixed for the next minor release (v1.1.4).

In the meantime, you can replace the public Color property 'enabledColor' (In MaterialSlider.cs, near the top) with this :)

~ Declan.

Welcome to MaterialUI support! Ask us anything :)
...