Skip to content

Commit 964e2ba

Browse files
Update to Blockly 11 (mit-cml#67)
* Update to Blockly 11.2.2 * Fix deprecated Blockly.inputTypes RaspberryPiFoundation/blockly@75007a0#diff-b0eef723c99dc1228104b3187ab5ff8c524198db8a12994fcbe099f9bef4b010L654-L655 * Fix headless horizontal/vertical param toggle RaspberryPiFoundation/blockly@5db9b5b#diff-d2452865ee29274f173594ba31093a2b8845c47113f7223ca0df1933e4b3de85L273-L274 RaspberryPiFoundation/blockly@5db9b5b#diff-d2452865ee29274f173594ba31093a2b8845c47113f7223ca0df1933e4b3de85R288-R291 * Fix Blockly.Drawer not found in blocky/core ewpatton/appinventor-sources@6c74e5b#diff-179ada7bc9ef841c7b52e24fe50097e0ee0aad37f7f1e4d19fec4f5323ef9785L24 * Fix init/render timing issues mit-cml#68 (comment) RaspberryPiFoundation/blockly#7777 RaspberryPiFoundation/blockly#6786 https://developers.google.com/blockly/guides/contribute/core-architecture/render-management Co-Authored-By: TannerGabriel <40315960+TannerGabriel@users.noreply.github.com> * Fix block warning icon RaspberryPiFoundation/blockly@75007a0#diff-bb0de0069443e7577f62ffa96e6b51c5fafd06703f50c3eed6eb616ac87467bfL118-L124 https://developers.google.com/blockly/reference/js/blockly.blocksvg_class.setwarningtext_1_method.md * Fix renamed editable_ RaspberryPiFoundation/blockly@61bbd7d#diff-3b78eb431743f14de69af3dbc7fa1d3d158299c58ee01e47c05c33dd205165fbL191-R191 https://github.com/google/blockly/blob/blockly-v11.2.2/core/block.ts#L921-L928 * Fix block warning icon (revert comment) setWarningText checks for warning icon https://github.com/google/blockly/blob/blockly-v11.2.2/core/block_svg.ts#L972 * Fix render & code generation on dropdown change Blocky 10 caused `this.setValue(text)` to stack overflow so it was replaced with `this.doValueUpdate_(text)` which stops render & code generation. It can be removed as it's inside the field validator so the value will be set after successful validation. ewpatton/appinventor-sources@bd2cec9 ewpatton/appinventor-sources@6c74e5b#diff-179ada7bc9ef841c7b52e24fe50097e0ee0aad37f7f1e4d19fec4f5323ef9785R41 https://developers.google.com/blockly/guides/create-custom-blocks/fields/validators --------- Co-authored-by: TannerGabriel <40315960+TannerGabriel@users.noreply.github.com> Co-authored-by: TannerGabriel <gabrieltanner.code@gmail.com>
1 parent 9b9237c commit 964e2ba

7 files changed

Lines changed: 400 additions & 293 deletions

File tree

0 commit comments

Comments
 (0)