Skip to content

v0.4.0

Choose a tag to compare

@janewas janewas released this 14 Sep 11:50
· 1 commit to main since this release

Text frames can now be moved and resized after they are placed.

0.4.0

  • Move and resize a text frame: with the text tool, drag the frame body to move it, or any of its eight handles to resize it. The text re-fits live while dragging, handles are drawn at a constant screen size, and the cursor reflects the handle under the pointer.
  • A frame cannot be shrunk small enough to clip its text: a shared minimum readable font size doubles as the resize floor.
  • Edit and delete: double-click inside a frame to change its text (clearing the text removes the frame); select a frame and press Delete to remove it.
  • Undo covers everything: the undo stack is now a snapshot history instead of "drop the last shape", so moves, resizes, text changes, deletes and drawn strokes are all undoable.
  • Text frames stay independent of the box tool — the box tool still only draws an outline, and frames are selectable only while the text tool is active.
  • Fixes: editing text used to append a second frame instead of replacing the first (the in-place editor dropped its editing id on every keystroke), the caret started at offset 0 when editing existing text, and drawn pen/box/arrow strokes were not recorded in the undo history.

Install

dsh plugin --profile web add github:janewas/dsh-image-annotate   # restart dsh web afterwards

or download the tarball below, extract it, and run bash install.sh (no restart, refresh the page).

Requires DSH 0.1.5-rc.1 or a compatible release.