mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-25 18:37:10 -06:00
Since Photoshop CC 2019 a double-click on a type layer with the Move tool starts editing its text without switching tools by hand. PhotoCraft only offered this from the Layers panel thumbnail. A double-click with the selected Move tool now picks the topmost visible type layer under the pointer (the Type tool's own hit test), makes it active and opens an edit session with the caret on the glyph there, switching to the Type tool. Elsewhere the double-click does nothing, ⌘ held over another tool doesn't count, and an open transform box keeps its double-click (commit). The type tests' harness steps a quarter second per frame, past egui's double-click delay, so the new test uses a 60 fps harness. Co-authored-by: lloyd <lloyd@stackworx.io> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>