In the HasPaint
mixin, paint
and paintLayers
are mutually exclusive. When paintLayers
contains paints, paint
is ignored when rendering. Similarly, paints in paintLayer
have no effect on the component's primary paint
.
paint
should be considered the first layer in paintLayers
. Similarly get and set of paint
should point to the first element of paintLayers
.
It could be confusing to have the component's paint
value be ignored after setting layers. paintLayers
should not be empty if get, it should contain the current paint
as this is a layer being painted. Adding a new paint layer should add onto the current paint
, not override it.
No change to the API. No additional memory.
I can submit a PR if the above is agreed. Only minor code changes required.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too