Skip to content

Commit

Permalink
Fix direction x (calculation incorrect)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp committed Oct 3, 2024
1 parent f0dbb44 commit 8c48c39
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 8c48c39

Please sign in to comment.