mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-16 19:40:41 +00:00
3d399dd1a5
* Keep typed graph name and attribute text across frames Typing a graph name or attribute currently loses the text between frames, so the edit never reaches the engine command on focus loss. Persisting the draft across frames, as the slider and preset name already do, makes the edit commit correctly. Store the in-progress graph name and attribute text in temporary UI data while editing, like presets_bar does, and commit the stored text on lost_focus. Add a harness test that types a new graph name across several frames, moves focus away, and asserts the renamed graph. Test: graph_name_typed_across_frames_commits_on_focus_loss failed before the change and passes after. * Graph properties: a draft field's id salt is a string Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: eliets2 <287273517+eliets2@users.noreply.github.com> Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>