Skip to content

Flyout workspace's variableMap should be the same as the target workspace's variableMap #1512

Description

@rachel-fenichel

The flyout workspace always operates on the parent workspace's variable map when creating variables, renaming them, etc. All of the flyout workspace's variable-related functions are bound to the parent workspace's functions. It would be better to point the variableMap to the correct object and not rebind so many functions.

https://github.com/google/blockly/blob/master/core/flyout_base.js#L251

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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