mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 01:18:43 +00:00
As in Photoshop, holding ⌥ while dragging a guide turns it between horizontal and vertical about the pointer, whether it comes out of a ruler or an existing guide is dragged with the Move tool (or ⌘ with another tool); an ⌥-click turns a guide in place, and letting go of ⌥ before the release turns it back. A guide dropped on either ruler is deleted whichever way it runs: before, a horizontal guide dropped on the left ruler was still level with the image and only moved. - engine: `view.moveGuide` takes an optional `toOrientation`, so a turned guide is one undo step and keeps its colour; a % position is of the new axis. - ui: `GuideDrag` keeps the guide's own orientation plus `flipped` (⌥ held) and `over_ruler` (set by the rulers from the pointer each frame); `GuideDrag::track` follows the pointer for both drag paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>