Skip to content

Commit d855419

Browse files
committed
chore: Remove now-obsolete call to connectionPreviewer.hidePreview
This is no longer needed after RaspberryPiFoundation/blockly#8874.
1 parent 1448451 commit d855419

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/actions/mover.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,6 @@ export class Mover {
177177
dragStrategy.isNewBlock,
178178
);
179179

180-
// Explicitly call `hidePreview` because it is not called in revertDrag.
181-
// @ts-expect-error Access to private property connectionPreviewer.
182-
dragStrategy.connectionPreviewer.hidePreview();
183-
184180
// Save the position so we can put the cursor in a reasonable spot.
185181
// @ts-expect-error Access to private property connectionCandidate.
186182
const target = dragStrategy.connectionCandidate?.neighbour;

0 commit comments

Comments
 (0)