mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-02 06:17:22 -06:00
Main moved the engine commands into crates/engine/src/cmd/ and the dialogs and panels into submodules. The PR's placement calls follow them, and main's new insert sites (new_adjustment in adjust_params.rs, Place in file_cmds/open.rs, shapes in vector_cmds/shape.rs) use layer_place::insert_new like the PR's originals. The New Group dialog moves to dialogs/new_group_ui.rs; the Layers panel flyout's New Group… opens it. Main's Session::precheck now also checks layer.new.group's and layer.new.groupFromLayers' new params (name, color, mode, opacity, position), so precheck_agrees_with_execute holds. Main had since added "New Group…" to every catalog: the PR's duplicate rows are dropped. Main's newer tests that made a layer with an open group active now open the group last, as the PR did for the older ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>