Color picker shadow block is broken

While making an extension, I came across a weird issue… The color shadow block seems to be totally broken. It looks like some kind of new feature? Replacing the old color picker with this new square shaped one, but the colors are all off and selecting them is even more broken.. I thought my extension might be the issue but I checked and the code is valid.

New color picker vs old color picker, looks like the old one still appears on built-in blocks.

Here’s an example on a project I’m working on. You can edit the code and play around with the color picker to see how it’s broken. Most colors just make the sprite disappear, selecting the “pink” one makes it yellow for some reason… No clue what’s going on.

And the definition of the method used, using a colorNumberPicker shadow block. I experimented a little in the playground and found another shadow block, apparently the legacy version colorindexpicker but it produces the same broken result. Help is appreciated

3 Likes

Idk what’s happening to you, but when I tried what you did it basically broke the blocks tab for the extension, which was really weird:


Then I tried “colorindexpicker” without the capitalization and it worked completely fine and used the normal color picker. You must have found some old(?) version somehow that isn’t used anywhere. :man_shrugging:

1 Like

yeah, you want colorindexpicker not colornumberpicker. that block is used in other makecode editors (adafruit i think)

2 Likes

I think I’ve seen it in documentation and playground before, don’t think I would’ve been using it otherwise…

1 Like

@Sarge the playground is for all makecode editors, so it has some non-arcade stuff in it

1 Like