Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix the color of procedure argument blocks #216

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

gonfunko
Copy link
Owner

@gonfunko gonfunko commented Oct 9, 2024

This PR fixes #195 by adding custom handling for the color of procedure argument blocks, which are shadow blocks nested inside another shadow block. Rather than using the normal shadow block color, they now use the primary block color in order to provide contrast with their parent block and match Scratch's behavior.

@gonfunko gonfunko merged commit 88c700e into modern-blockly Oct 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arguments in sample caller block embedded in custom block definition block are the wrong color
2 participants