Skip to content

Use default numpad colors when the block has no parent. #172

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

Merged
merged 1 commit into from
Nov 14, 2018

Conversation

samelhusseini
Copy link
Contributor

Recent change (#156) which was a port of scratchfoundation/scratch-blocks#1744 assumes all blocks have a parent. Our math_number block doesn't and that causes a crash.

This change falls back to the default numPad colors in that case.

@rachel-fenichel FYI

@samelhusseini samelhusseini merged commit b40e433 into develop Nov 14, 2018
@samelhusseini samelhusseini deleted the numpadcolorfix branch November 14, 2018 03:42
shakao pushed a commit that referenced this pull request Aug 22, 2019
#172, Fixed [Edge, IE] Zoom control mouseover is not clipped
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.

1 participant