Add the group variant to Graphic with typed run walks

This commit is contained in:
Dennis Kobert
2026-08-21 19:34:03 +00:00
parent da8ae2be43
commit b5c4aa4598
5 changed files with 193 additions and 4 deletions
@@ -336,6 +336,7 @@ impl TableItemLayout for Graphic {
Self::Color(list) => list.identifier(),
Self::Gradient(list) => list.identifier(),
Self::Text(list) => list.identifier(),
Self::Group(_) => "Group".to_string(),
}
}
// Don't put a breadcrumb for Graphic
@@ -351,6 +352,7 @@ impl TableItemLayout for Graphic {
Self::Color(list) => list.layout_with_breadcrumb(data),
Self::Gradient(list) => list.layout_with_breadcrumb(data),
Self::Text(list) => list.layout_with_breadcrumb(data),
Self::Group(_) => Vec::new(),
}
}
}