-
Notifications
You must be signed in to change notification settings - Fork 419
editor-theme3, number-pad: new Blockly #7922
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
Conversation
| Blockly.FieldNote.prototype.addOctaveButton_ = function (...args) { | ||
| let FieldNote; | ||
| if (Blockly.registry) FieldNote = Blockly.registry.getClass(Blockly.registry.Type.FIELD, "field_note"); | ||
| FieldNote = Blockly.FieldNote; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mxmou If FieldNote always gets set to a predetermined value, then the if-statement above will ultimately have no effect. Was there supposed to be an else keyword on this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in #8836.






Changes
Updates "customizable block colors" and "always show number pad" to work with the new version of Blockly.
Tests
Tested both Scratch versions on Edge and Firefox.