fix: dragging blocks within a zoomed mutator (#7423)

This commit is contained in:
Beka Westberg
2023-08-24 08:34:45 -07:00
committed by GitHub
parent 2fce8ad100
commit 7e3472c305

View File

@@ -65,6 +65,9 @@ export class MiniWorkspaceBubble extends Bubble {
);
workspaceOptions.parentWorkspace = this.workspace;
this.miniWorkspace = this.newWorkspaceSvg(new Options(workspaceOptions));
// TODO (#7422): Change this to `internalIsMiniWorkspace` or something. Not
// all mini workspaces are necessarily mutators.
this.miniWorkspace.internalIsMutator = true;
const background = this.miniWorkspace.createDom('blocklyMutatorBackground');
this.svgDialog.appendChild(background);
if (options.languageTree) {