mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
A plain LiveShape::Line (shape.create without arrow keys, or an imported line) that is not axis-aligned lost its live parameters when the options bar's W or H applied the line-frame scale, since only ArrowLine was kept under non-axis-aligned transforms; W and H then read 0. Handle a plain Line in the same arm: map its endpoints and scale its weight by the perpendicular factor. Test: w_then_h_keep_a_diagonal_plain_line_live (#13250).