Files
photocraft/crates
Hector VillarrealandClaude Opus 5.5 c58d0366bc New Guide: no ruler unit on a leading factor of a length (CodeRabbit review on new_guide_ui.rs:91)
The dialog put the ruler unit on a leading bare number whenever an
operator followed, so "2 * 50 px" and "2 / 2 * 50 px" became
"2 cm * 50 px" and the engine refused a length times a length. Now it
checks the whole leading term (`*` and `/` operands up to the first
`+` or `-`): when one of them has a unit, the bare number is a plain
factor and is sent as typed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 21:23:15 -06:00
..
…
…
…
…
…
…
…
…