massif-press / cc-lcp-editor

A tool for producing Lancer Content Packages for use with COMP/CON
9 stars 9 forks source link

Color Picker is changing only the light colors. #16

Closed Bluhman closed 3 years ago

Bluhman commented 3 years ago

Describe the bug When using the color picker for the Manufacturer editor, it only ever references and changes the light color.

To Reproduce Steps to reproduce the behavior:

  1. Create an LCP
  2. Change the color either by typing or by using the color picking widget.
  3. Notice that both colors are changing at the same time, to the same value.
  4. Export the Manufacturers Json.
  5. Notice that the dark color is always full red.

Expected behavior Each color should be manipulatable by themselves.

Screenshots image

Additional context I was able to find where the issue is, on the Manufacturer Editor view, on line 105 https://github.com/massif-press/cc-lcp-editor/blob/master/src/views/editors/Manufacturers.vue