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: prevent deleting procedure definition blocks with references by dragging to the flyout #120

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

gonfunko
Copy link
Owner

This PR fixes a bug whereby procedure definition blocks with callers on the workspace could be deleted by dragging them to the flyout. Now, the user will be prompted to remove the callers first, just like deleting the definition block via the contextual menu.

@gonfunko gonfunko merged commit fa9367d into modern-blockly Aug 12, 2024
1 check passed
@gonfunko gonfunko deleted the procedure-drag-delete branch August 12, 2024 20:57
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