@@ -17,7 +17,6 @@ import * as Constants from '../constants';
1717import { Direction , getXYFromDirection } from '../drag_direction' ;
1818import { KeyboardDragStrategy } from '../keyboard_drag_strategy' ;
1919import { Navigation } from '../navigation' ;
20- import { MoveIcon } from '../move_icon' ;
2120import { clearMoveHints } from '../hints' ;
2221
2322/**
@@ -124,7 +123,6 @@ export class Mover {
124123 // Begin drag.
125124 dragger . onDragStart ( info . fakePointerEvent ( 'pointerdown' ) ) ;
126125 info . updateTotalDelta ( ) ;
127- block . addIcon ( new MoveIcon ( block ) ) ;
128126 return true ;
129127 }
130128
@@ -147,8 +145,6 @@ export class Mover {
147145 new utils . Coordinate ( 0 , 0 ) ,
148146 ) ;
149147
150- info . block . removeIcon ( MoveIcon . type ) ;
151-
152148 this . unpatchWorkspace ( workspace ) ;
153149 this . unpatchDragStrategy ( info . block ) ;
154150 this . moves . delete ( workspace ) ;
@@ -176,8 +172,6 @@ export class Mover {
176172 ( info . dragger as any ) . shouldReturnToStart = ( ) => true ;
177173 const blockSvg = info . block ;
178174
179- blockSvg . removeIcon ( MoveIcon . type ) ;
180-
181175 // Explicitly call `hidePreview` because it is not called in revertDrag.
182176 // @ts -expect-error Access to private property dragStrategy.
183177 blockSvg . dragStrategy . connectionPreviewer . hidePreview ( ) ;
0 commit comments