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

Error when selecting block in Workspace Factory #314

@kyleplo

Description

@kyleplo

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) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions