mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-09 00:17:58 +00:00
Review: the widest name is found by laying rows out in descending order of a bound on their width until the bound falls under the widest found, with no cut at 48 rows; each name is laid out as it is painted (one line, cut at NAME_ROOM); the painted room is capped at NAME_ROOM too; and a drag over a wide row counts only inside the list's clip rect, so a layer released over the canvas drops nowhere. Tests: a_wide_name_among_many_long_narrow_ones_is_still_measured, a_name_with_line_breaks_is_measured_as_painted, a_drag_released_over_the_canvas_drops_nowhere. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>