mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-02 18:13:39 +00:00
d9cb0edd8d
The reference application's Liquify has Twirl Clockwise only; holding Alt (Option on macOS) while using it twirls counterclockwise. PhotoCraft had an extra Twirl Counterclockwise tool on the strip, and #9598 had just given it a mirrored icon. Twirl Counterclockwise leaves the tool strip (LiquifyTool::ALL, 11 to 10 tools) and the rotate-ccw icon #9598 added goes with it (asset, icon_data entry, ATTRIBUTION count back to 113). Alt already reversed Twirl Clockwise at stroke-down; that stays. The TwirlCcw variant stays as a stroke's direction: Alt-strokes record `twirlCcw`, and filter.liquify strokes and older saved strokes naming it still replay as Twirl Clockwise reversed (the command doc says so). Selecting it as the tool (control channel `tool: "twirlCcw"`, or a preference saved by an older version) is refused with an error that says to choose twirlCw and hold Alt; the rest of the settings still apply and the dialog opens. Tests: the_tool_strip_has_no_twirl_counterclockwise (no such tool, label or missing icon on the strip, C is Twirl Clockwise, `twirlCcw` as the tool is an Err and leaves the tool, an old saved preference naming it opens); alt_with_twirl_clockwise_twirls_counterclockwise (the field displacement a dab leaves right of the centre points up without Alt and down, mirrored, with Alt). twirl_counterclockwise_has_its_own_mirrored_icon and the twirlCcw row of alt_reverses_twirl_and_swaps_pucker_and_bloat are removed. The i18n labels for Twirl Counterclockwise stay (the variant's label). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>