Very small change. Previously, if colorDomain and colorReverse were set, the colorDomain array would be reversed in place (in the colormaker's scale creation step). If the representation requires multiple instances of colormaker (e.g. ball+stick) then theeven numbered ones appear with the color reversed:
Very small change. Previously, if colorDomain and colorReverse were set, the colorDomain array would be reversed in place (in the colormaker's scale creation step). If the representation requires multiple instances of colormaker (e.g. ball+stick) then theeven numbered ones appear with the color reversed:
https://codepen.io/fludlow/pen/KKXjRwY
This fix copies the array before reversing it (so the original one isn't mutated)