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

new strategy for duplicate on drag blocks #10343

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

riknoll
Copy link
Member

@riknoll riknoll commented Jan 16, 2025

fixes microsoft/pxt-arcade#6626

the mutation method of storing if a block should duplicate on drag is thwarted by undo/redo because blockly doesn't restore the mutation value for whatever reason. anyway moving to a new strategy where we instead just allowlist particular combinations of parent blocks and inputs. this is probably less error prone anyhow!

@riknoll riknoll requested a review from a team January 16, 2025 18:20
@riknoll riknoll merged commit abf081f into master Jan 17, 2025
7 checks passed
@riknoll riknoll deleted the dev/riknoll/new-duplicate-on-drag-list branch January 17, 2025 18:45
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.

Undoing a drag from a duplicate-on-drag block causes duplicate-on-drag to break
2 participants