Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Error when selecting block in Workspace Factory #314

Open
kyleplo opened this issue Jan 18, 2021 · 0 comments
Open

Error when selecting block in Workspace Factory #314

kyleplo opened this issue Jan 18, 2021 · 0 comments

Comments

@kyleplo
Copy link

kyleplo commented Jan 18, 2021

Whenever a block is selected in Workspace Factory, there is an error in the console:
Screen Shot 2021-01-18 at 16 53 51
This seems to affect the ability to create shadow blocks.
I think this could be fixed by changing lines 348 and 349 of wfactory_init.js from this:

    if (e.type == Blockly.Events.BLOCK_MOVE ||
        e.type == Blockly.Event.SELECTED) {

To this:

    if (e.type == Blockly.Events.BLOCK_MOVE ||
        e.type == Blockly.Events.SELECTED) {
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant