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

Add monkey patch to restore background to minecraft workspace #10220

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

riknoll
Copy link
Member

@riknoll riknoll commented Oct 7, 2024

Fixes https://github.com/microsoft/pxt-minecraft/issues/2552

This rather heinous monkey patch brings back our old image background for the minecraft editor workspace. Currently, this isn't possible without a monkey patch like this or something even hackier like observing the DOM.

I'll open an issue on Blockly to see if they can surface an extension point for customizing the Grid class. Seems like a reasonable thing to want to do!

@riknoll riknoll requested a review from a team October 7, 2024 23:30
Copy link
Contributor

@eanders-ms eanders-ms left a comment

Choose a reason for hiding this comment

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

Fun!

@riknoll
Copy link
Member Author

riknoll commented Oct 7, 2024

issue filed here: google/blockly#8614

@riknoll riknoll merged commit bc6a374 into master Oct 7, 2024
6 checks passed
@riknoll riknoll deleted the dev/riknoll/image-blockly-background branch October 7, 2024 23:47
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.

2 participants