Skip to content

Commit

Permalink
fix: resolve transform matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Apr 13, 2023
1 parent 0fd81b8 commit 090e1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-moveable/src/gesto/GestoUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function resolveTransformEvent(event: any, functionName: string) {
const nextTransforms = originalDatas.nextTransforms as string[];
const length = nextTransforms.length;
const nextTransformAppendedIndexes: any[] = originalDatas.nextTransformAppendedIndexes;
let nextIndex = 0;
let nextIndex = -1;

if (index === -1) {
// translate => rotate => scale
Expand Down

0 comments on commit 090e1b2

Please sign in to comment.