File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
270270 top : this . scrollContainer . scrollTop ,
271271 left : this . scrollContainer . scrollLeft ,
272272 } ;
273-
273+
274274 this . initialWindowScroll = {
275275 top : window . scrollY ,
276276 left : window . scrollX ,
@@ -518,8 +518,8 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
518518 y : offset . y - this . initialOffset . y ,
519519 } ;
520520 // Adjust for window scroll
521- translate . y -= ( window . scrollY - this . initialWindowScroll . top )
522- translate . x -= ( window . scrollX - this . initialWindowScroll . left )
521+ translate . y -= ( window . scrollY - this . initialWindowScroll . top ) ;
522+ translate . x -= ( window . scrollX - this . initialWindowScroll . left ) ;
523523
524524 this . translate = translate ;
525525
@@ -571,7 +571,7 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
571571 const scrollDifference = {
572572 top : ( window . scrollY - this . initialWindowScroll . top ) ,
573573 left : ( window . scrollX - this . initialWindowScroll . left ) ,
574- }
574+ } ;
575575 this . newIndex = null ;
576576
577577 for ( let i = 0 , len = nodes . length ; i < len ; i ++ ) {
You can’t perform that action at this time.
0 commit comments