Skip to content

Fix/transformer stale after resize#7

Merged
u8array merged 8 commits into
mainfrom
fix/transformer-stale-after-resize
May 5, 2026
Merged

Fix/transformer stale after resize#7
u8array merged 8 commits into
mainfrom
fix/transformer-stale-after-resize

Conversation

@u8array
Copy link
Copy Markdown
Owner

@u8array u8array commented May 5, 2026

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request improves the resizing behavior of the BarcodeObject component by counter-scaling the HRI text to maintain a constant visual size and anchoring the resize at the top of the bars. It also updates the useKonvaTransformer hook to force a re-measure of the bounding box when object properties change. A performance improvement was suggested for the selectedSignature logic in useKonvaTransformer.ts to exclude position coordinates, which would prevent unnecessary updates during drag operations.

Comment thread src/components/Canvas/hooks/useKonvaTransformer.ts
@u8array u8array merged commit 72b16db into main May 5, 2026
2 checks passed
@u8array u8array deleted the fix/transformer-stale-after-resize branch May 5, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant