theseus/bundled-addons/pdf-editor/lib
Local Dev 05ac67067a fix(pdf-editor): a shape can be resized the moment it is drawn
Drawing a rectangle left it selected with its handles showing, and then
refused to let you touch them. The handles were only live under the select
tool, so sizing the shape you were still looking at meant a trip to the
toolbar and back — for a gesture the editor had already drawn the grips for.

Handles are now grabbable whatever tool is armed. They cannot be confused
with drawing: a handle is a nine-pixel square that only exists while
something is selected, nobody lands on one by accident, and Escape drops the
selection if the space is wanted back for drawing. The original gate was
protecting against a collision that does not really happen, at the cost of
one that does.

Making them universal opened a trap in the release path, fixed here too: the
text-markup tools return early from onUp to commit a text selection, which
would have stranded a resize half-done — applied to the live mark, never
journalled, with the drag still set so the next press behaved oddly. A
handle drag is now finished first, whatever tool is armed.
2026-09-22 21:33:48 +02:00
..
model.js feat(pdf-editor): read, mark up and reshape a PDF without leaving the browser 2026-09-20 20:58:21 +02:00
overlay.js feat(pdf-editor): a mark you placed is something you can still work on 2026-09-21 03:13:06 +02:00
rail.js feat(pdf-editor): read, mark up and reshape a PDF without leaving the browser 2026-09-20 20:58:21 +02:00
save.js feat(pdf-editor): a mark you placed is something you can still work on 2026-09-21 03:13:06 +02:00
shape.js feat(pdf-editor): a mark you placed is something you can still work on 2026-09-21 03:13:06 +02:00
signature.js feat(pdf-editor): read, mark up and reshape a PDF without leaving the browser 2026-09-20 20:58:21 +02:00
tools.js fix(pdf-editor): a shape can be resized the moment it is drawn 2026-09-22 21:33:48 +02:00
view.js feat(pdf-editor): read, mark up and reshape a PDF without leaving the browser 2026-09-20 20:58:21 +02:00