airbnb / lottie-android

Render After Effects animations natively on Android and iOS, Web, and React Native

Home Page:http://airbnb.io/lottie/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LottieProperty.COLOR support in SolidLayer

lsuski opened this issue · comments

Is your feature request related to a problem? Please describe.
Currently if i want to change color of most of the elements I can use LottieProperty.COLOR value callback with keypath ** and check return new color based on current color value. However this does not work for SolidLayer. Although SolidLayer supports LottieProperty.COLOR_FILTER property it's not possible to examine in value callback which color is currently set.

Describe the solution you'd like
SolidLayer could support LottieProperty.COLOR