wip: editable text working

This commit is contained in:
2023-11-29 14:39:05 +01:00
parent 3c94fa37be
commit 35b7eaad23
3 changed files with 38 additions and 40 deletions

View File

@@ -55,7 +55,7 @@ export const TransformableImage = ({
y: e.target.y(),
});
}}
onTransformEnd={(e) => {
onTransformEnd={() => {
const node = imageRef.current;
if (!node) return;