Skip to content

Commit f004816

Browse files
authored
fix: 🐛 Fixes transformation callback (#347)
1 parent 37dbfde commit f004816

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/instance.core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ export class ZoomPanPinch {
416416
const ctx = getContext(this);
417417
this.onChangeCallbacks.forEach((callback) => callback(ctx));
418418

419-
handleCallback(ctx, { scale, positionX, positionY }, onTransformed);
420419
this.applyTransformation();
420+
handleCallback(ctx, { scale, positionX, positionY }, onTransformed);
421421
} else {
422422
console.error("Detected NaN set state values");
423423
}

0 commit comments

Comments
 (0)