Skip to content

Conversation

@lizlooney
Copy link
Collaborator

Changed blocks (except the ones that are used in mutators) to not assume they are BlockSvg.

Fixes #297

@lizlooney lizlooney requested a review from alan412 November 24, 2025 07:49
@lizlooney lizlooney marked this pull request as ready for review November 24, 2025 07:49
Copy link
Collaborator

@alan412 alan412 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we consider putting the code for if it is rendered and casting in the container that gets the mutatorIcon instead of in each block?

@lizlooney
Copy link
Collaborator Author

lizlooney commented Nov 25, 2025

Should we consider putting the code for if it is rendered and casting in the container that gets the mutatorIcon instead of in each block?

That's an interesting suggestion, but I think it is fine how we have it now.

Copy link
Collaborator

@alan412 alan412 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alan412 alan412 merged commit 810a7cb into wpilibsuite:main Nov 25, 2025
1 check passed
@lizlooney lizlooney deleted the pr_issue_297 branch November 25, 2025 18:54
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.

Our blocks should not assume they are Blockly.BlockSvg

2 participants