Skip to content

Commit

Permalink
Merge pull request #591 from mkszepp/fix-direction-x
Browse files Browse the repository at this point in the history
Fix direction x (calculation incorrect)
  • Loading branch information
NullVoxPopuli authored Oct 3, 2024
2 parents f4e784c + 8c48c39 commit 0ec6cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/src/modifiers/sortable-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ export default class SortableGroupModifier<T> extends Modifier<SortableGroupModi
position += item.width;
}
if (direction === 'x') {
position += item.height;
position += item.width;
}
if (direction === 'y') {
position += item.height;
Expand Down

0 comments on commit 0ec6cdd

Please sign in to comment.