Commit Graph

6 Commits

Author SHA1 Message Date
Namhoon Lee
0be0c3916c fix(text-actions): Calculate accumulated transform matrix for text inside groups (#1082)
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
check each push / build (push) Has been cancelled
When editing text inside a group element, the text cursor was appearing
in the wrong position because only the text element's own transform was
being considered, ignoring transforms from parent groups.

This change:
- Adds a new #getAccumulatedMatrix() method that traverses up the DOM tree
  from the text element to the SVG content element, collecting and multiplying
  all transform matrices along the way
- Updates the init() method to use this accumulated matrix instead of just
  the text element's transform
- Updates test mock to include getSvgContent() method

Fixes the issue where editing text inside a transformed group would show
the cursor at the wrong position.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 14:57:35 +01:00
JFH
97386d20b5 Jan2026 fixes (#1077)
* fix release script
* fix svgcanvas edge cases
* Update path-actions.js
* add modern js
* update deps
* Update CHANGES.md
2026-01-11 00:57:06 +01:00
JFH
7ca39b6471 add flip buttons
also update svgedit.css
2025-12-07 18:56:10 +01:00
JFH
28fe82b61e fix CI issue 2025-12-07 11:26:25 +01:00
JFH
fa380402e1 increase test coverage
extend test coverage
2025-12-07 10:56:29 +01:00
JFH
a37fbac749 migration to vite/playwright 2025-11-30 19:10:16 +01:00