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: Test for minimap playground #1875

Merged
merged 2 commits into from
Aug 23, 2023
Merged

Conversation

cesarades
Copy link
Contributor

@cesarades cesarades commented Aug 23, 2023

Description
If you used the playground to change the workspace, it would create duplicate minimaps. To fix this I assigned the minimap to a module-local variable, and dispose of it if it already exists.

In this PR I also removed the private label from the package file.

Tests
To test that no minimaps were being duplicated I repeatedly altered the workspace attributes, and changed the window size.

@cesarades cesarades requested a review from a team as a code owner August 23, 2023 17:24
@cesarades cesarades requested review from BeksOmega and removed request for a team and BeksOmega August 23, 2023 17:24
@BeksOmega
Copy link
Contributor

Double checked that everything in the package config looks good =) Such excite!

@cesarades cesarades merged commit 19ca60e into google:master Aug 23, 2023
10 checks passed
@cesarades cesarades deleted the feedbackBeka branch August 23, 2023 18:13
gonfunko pushed a commit to gonfunko/blockly-samples that referenced this pull request Aug 25, 2023
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