mirror of
https://github.com/google/blockly.git
synced 2026-01-26 02:00:10 +01:00
* fix: JSON deserialization fails (bug #6091) (collapsed procedure call blocks) * fix: JSON deserialization fails (bug #6091) changed fix, added tests (collapsed procedure call blocks)
This commit is contained in:
committed by
Beka Westberg
parent
4de439b64e
commit
a3a9dcf366
@@ -611,8 +611,8 @@ const initBlock = function(block, rendered) {
|
||||
// operation to decrease load time.
|
||||
block.setConnectionTracking(false);
|
||||
|
||||
blockSvg.initSvg();
|
||||
blockSvg.render(false);
|
||||
block.initSvg();
|
||||
block.render(false);
|
||||
// fixes #6076 JSO deserialization doesn't
|
||||
// set .iconXY_ property so here it will be set
|
||||
const icons = block.getIcons();
|
||||
|
||||
Reference in New Issue
Block a user