microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
486 stars 209 forks source link

Can't change the modified color by HEX code in the new palette #5493

Open Sheila111 opened 1 year ago

Sheila111 commented 1 year ago

Describe the bug Can't change the modified color by HEX code in the new palette

Steps to reproduce the behavior

  1. Navigate to https://arcade.makecode.com/beta#
  2. Create a new project and switch to Assests editor
  3. Click Color Palette
  4. Change the first color and save it as a new palette
  5. Copy a new color HEX code to the first color in the new palette

Actual behavior Can't change the modified color by HEX code in the new palette. But you can click the color block to change the color. And you can also change the other color by HEX code except modified color .

Expect behavior You can change any color include the color you have changed before by HEX code in the new palette.

Screenshot 1

Additional context 1.OS: Windows11 2.arcade version: 1.12.6 7.Microsoft MakeCode version: 8.5.7

kimprice commented 1 year ago

I'm not able to repro this.

Sheila111 commented 1 year ago

It still repro. Maybe steps are not clear. Let me clarify it. Repro step:

  1. Click Color in Assets editor to open color palette
  2. Change any color, for example change the first color
  3. Save this new color palette "Custom"
  4. Now you are in "Custom" and change the first color by HEX code #FF2121. You'll see that you can't change the first color by HEX code #FF2121. But if you click the color block of first color, the color will be changed.