gonfunko / scratch-blocks

Scratch Blocks is a library for building creative computing interfaces.
https://scratch.mit.edu/developers
Apache License 2.0
1 stars 0 forks source link

Arguments in sample caller block embedded in custom block definition block are the wrong color #195

Open gonfunko opened 1 week ago

gonfunko commented 1 week ago

When a custom block has arguments, the argument placeholder/shadow blocks shown in the sample caller block embedded in the block definition block are displayed using the same color as the caller block. Instead, they should be the same color as the top-level definition block. Note that when the argument blocks are dragged out, their color is correct. This behavior is the same in both the high contrast and normal themes.

Incorrectly colored argument blocks
gonfunko commented 1 week ago

Correct behavior:

Correctly colored argument blocks