fix: c-blocks disappearing (#8203)

This commit is contained in:
Beka Westberg
2024-06-11 18:21:48 +00:00
committed by GitHub
parent c94d8c2ca0
commit dc91c3ab54

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,