Files
figcraft/docs
Trevor BrownandClaude Fable 5.1 4ad80fa7be M1: Layers panel width: measure every candidate as painted, cap painting, no drops past the list (#1904)
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>
2026-11-03 09:57:59 -05:00
..
2026-10-31 04:25:44 +00:00