kennethcachia / background-check

Automatically switch to a darker or a lighter version of an element depending on the brightness of images behind it.
http://kennethcachia.com/background-check/
MIT License
3.27k stars 281 forks source link

Color not refreshing throughout a scroll. #27

Closed betsydupuis closed 10 years ago

betsydupuis commented 10 years ago

Not sure if this was an intentional behavior or not, but it seems like it should refresh consistently throughout the scroll.

http://www.kennethcachia.com/background-check/slider.html

kennethcachia commented 10 years ago

Hey!

Yes, it is intentional behavior. Otherwise the controls might repeatedly flash between light and dark mode.

As an alternative, you can also fade out the controls, transition the slide, refresh BackgroundCheck and then fade the controls back in.