mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-25 10:56:48 -06:00
Review fixes for #881 (FredApps, CodeRabbit). - number_field: the word for Auto (the placeholder's own text in the UI's language, or "auto") is taken only by a field that asks for it (`Empty::Auto`), not by every field whose placeholder reads "Auto". An auto layout's gap ("Auto" is Space between) and a prototype overlay's offset ("Auto" is no offset) keep their own meaning of 0; the fixed "自动" match is gone. - layout: Auto width has no hidden 60 px band — the bands step by the gutter alone, so the pitch is what the panel shows. A zero-width band snaps to one line, not two identical edges. - right: the width field shows "Auto" (not 0) when there is no width, and a stretched grid shows it dim and not editable (its bands divide the frame), with the margin and gutter still editable. - tests: the field suite checks the word on a grid's width (0) and on an auto layout's gap (nothing); the layout suite pins the gutter pitch, the Auto count and a stretched grid's bands. - docs: ROADMAP and ui-parity state the pitch and what changes for saved grids.