File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -450,8 +450,8 @@ module.exports = function (expect) {
450
450
var lastChangeIndex = Math . max ( moveSourceAndMoveTarget . source . changeIndex , moveSourceAndMoveTarget . target . changeIndex ) ;
451
451
452
452
arrowSpecs . push ( {
453
- start : topByChangeNumber [ firstChangeIndex ] ,
454
- end : topByChangeNumber [ lastChangeIndex ] + 1 ,
453
+ start : firstChangeIndex ,
454
+ end : lastChangeIndex ,
455
455
direction : moveSourceAndMoveTarget . source . changeIndex < moveSourceAndMoveTarget . target . changeIndex ? 'down' : 'up'
456
456
} ) ;
457
457
} ) ;
@@ -461,9 +461,9 @@ module.exports = function (expect) {
461
461
columnSet . forEach ( function ( entry ) {
462
462
arrows . push ( that . clone ( ) . arrow ( {
463
463
left : i * 2 ,
464
- top : entry . start ,
464
+ top : topByChangeNumber [ entry . start ] ,
465
465
width : 1 + ( packing . length - i ) * 2 ,
466
- height : entry . end - entry . start ,
466
+ height : topByChangeNumber [ entry . end ] - topByChangeNumber [ entry . start ] + 1 ,
467
467
direction : entry . direction
468
468
} ) ) ;
469
469
} ) ;
You can’t perform that action at this time.
0 commit comments