Files
photocraft/crates
f5025f8f2a New Guide Layout (#6083): Tab selects while a button is held, lengths remembered in px
CodeRabbit found two more gaps on the PR's latest head:
- Tab into a length field while a mouse button was held did not select its
  text, so typing appended ("2 mm5"). field_tab now marks the field it hands
  focus to, and the dialog selects that field whatever the mouse does.
- A unitless length set over automation ("5") was remembered as typed, so a
  later ruler unit change reread it in the new unit. Confirm now remembers
  each length as the pixels it applied; reopening shows them in the new unit.

Also adds a test that Enter straight after a bare number applies it in the
unit the field showed.

Co-Authored-By: safvanedge <safvanedge@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 17:53:27 +01:00
..
…
…
…
…
…
…
…
…
…
…