mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
fix: dragging blocks within a zoomed mutator (#7423)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user