@@ -82,10 +82,6 @@ export class Mover {
8282
8383 private moveIndicator ?: MoveIndicatorBubble ;
8484
85- private movingBlock :
86- | ( IDraggable & IFocusableNode & IBoundedElement & ISelectable )
87- | null = null ;
88-
8985 constructor ( protected navigation : Navigation ) { }
9086
9187 /**
@@ -158,7 +154,6 @@ export class Mover {
158154 workspace . setKeyboardMoveInProgress ( true ) ;
159155 const info = new MoveInfo ( workspace , draggable , dragger , blurListener ) ;
160156 this . moves . set ( workspace , info ) ;
161- this . movingBlock = draggable ;
162157 // Begin drag.
163158 dragger . onDragStart ( info . fakePointerEvent ( 'pointerdown' ) ) ;
164159 info . updateTotalDelta ( ) ;
@@ -222,7 +217,6 @@ export class Mover {
222217 */
223218 finishMove ( workspace : WorkspaceSvg ) {
224219 const info = this . preDragEndCleanup ( workspace ) ;
225- this . movingBlock = null ;
226220
227221 info . dragger . onDragEnd (
228222 info . fakePointerEvent ( 'pointerup' ) ,
@@ -256,7 +250,6 @@ export class Mover {
256250 // Prevent the strategy connecting the block so we just delete one block.
257251 // @ts -expect-error Access to private property connectionCandidate.
258252 dragStrategy . connectionCandidate = null ;
259- this . movingBlock = null ;
260253
261254 info . dragger . onDragEnd (
262255 info . fakePointerEvent ( 'pointerup' ) ,
0 commit comments