Skip to content

Commit 2129bb4

Browse files
authored
chore: Remove now-obsolete call to connectionPreviewer.hidePreview (#477)
* chore: Remove now-obsolete call to connectionPreviewer.hidePreview This is no longer needed after RaspberryPiFoundation/blockly#8874. * fix: Remove unneded @ts-expect directives causing test failures
1 parent 25fe2ba commit 2129bb4

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
@@ -182,10 +182,6 @@ export class Mover {
182182
dragStrategy.isNewBlock,
183183
);
184184

185-
// Explicitly call `hidePreview` because it is not called in revertDrag.
186-
// @ts-expect-error Access to private property connectionPreviewer.
187-
dragStrategy.connectionPreviewer.hidePreview();
188-
189185
// Save the position so we can put the cursor in a reasonable spot.
190186
// @ts-expect-error Access to private property connectionCandidate.
191187
const target = dragStrategy.connectionCandidate?.neighbour;

0 commit comments

Comments
 (0)