Skip to content

Commit aae2c97

Browse files
committed
#1699: Fixed multiplying ghost transform
1 parent de5e7a4 commit aae2c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sortable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
789789
fallbackTolerance = options.fallbackTolerance,
790790
fallbackOffset = options.fallbackOffset,
791791
touch = evt.touches ? evt.touches[0] : evt,
792-
ghostMatrix = ghostEl && matrix(ghostEl),
792+
ghostMatrix = ghostEl && matrix(ghostEl, true),
793793
scaleX = ghostEl && ghostMatrix && ghostMatrix.a,
794794
scaleY = ghostEl && ghostMatrix && ghostMatrix.d,
795795
relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent),

0 commit comments

Comments
 (0)