File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ export class Mover {
302302
303303 info . dragger . onDrag (
304304 info . fakePointerEvent ( 'pointermove' , direction ) ,
305- info . totalDelta ,
305+ info . totalDelta . clone ( ) . scale ( workspace . scale ) ,
306306 ) ;
307307
308308 info . updateTotalDelta ( ) ;
@@ -327,7 +327,10 @@ export class Mover {
327327 info . totalDelta . x += x * UNCONSTRAINED_MOVE_DISTANCE * workspace . scale ;
328328 info . totalDelta . y += y * UNCONSTRAINED_MOVE_DISTANCE * workspace . scale ;
329329
330- info . dragger . onDrag ( info . fakePointerEvent ( 'pointermove' ) , info . totalDelta ) ;
330+ info . dragger . onDrag (
331+ info . fakePointerEvent ( 'pointermove' ) ,
332+ info . totalDelta . clone ( ) . scale ( workspace . scale ) ,
333+ ) ;
331334 this . scrollCurrentBlockIntoView ( workspace ) ;
332335 return true ;
333336 }
You can’t perform that action at this time.
0 commit comments