Compose saved Scenario authoring with current Text and input authority

This commit is contained in:
2026-09-23 00:25:20 -07:00
parent 5960563b23
commit 6f4dfc67b3
78 changed files with 14097 additions and 318 deletions
+3 -1
View File
@@ -1535,7 +1535,8 @@ fn group_label(path: &str) -> Option<&'static str> {
}
fn placement_allowed(project: &Project, diagram: &Diagram, element: &Element, current: Id) -> bool {
(diagram.projection == ProjectionKind::Traceability || diagram.layer == element.layer())
diagram.projection.scenario().is_none()
&& (diagram.projection == ProjectionKind::Traceability || diagram.layer == element.layer())
&& diagram
.projection
.state_machine()
@@ -2683,6 +2684,7 @@ mod tests {
description: String::new(),
layer: Layer::Oa,
projection: ProjectionKind::Overview,
layout: None,
routes: Vec::new(),
view_options: Default::default(),
nodes: BTreeMap::new(),