mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
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>