fix: c-blocks disappearing (#8203)

(cherry picked from commit dc91c3ab54)
This commit is contained in:
Beka Westberg
2024-06-11 18:21:48 +00:00
committed by Maribeth Moffatt
parent e03d526864
commit 3a2152cbce

View File

@@ -99,6 +99,7 @@ export class BlockDragStrategy implements IDragStrategy {
this.startLoc = this.block.getRelativeToSurfaceXY();
this.connectionCandidate = null;
const previewerConstructor = registry.getClassFromOptions(
registry.Type.CONNECTION_PREVIEWER,
this.workspace.options,