google / blockly-devtools

Tools for Blockly app developers to help build custom blocks.
http://developer.google.com/blockly
Apache License 2.0
60 stars 31 forks source link

Replace BlockEditorView.show(blockDef) #304

Open AnmAtAnm opened 6 years ago

AnmAtAnm commented 6 years ago

BlockEditorView.show(blockDef) duplicates code/functionality in .showBlock(blockDef), and does edit "tab" manipulation without involving the AppController.

Replace the function with a call in AppController that calls (directly or indirectly) BlockEditorView.showBlock(blockDef).

AnmAtAnm commented 6 years ago

The different code paths through BlockEditorView.show(blockDef) and .showBlock(blockDef) is probably partially responsible for #297.