Rename the Group type to Graphic everywhere (#3009)
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run

This commit is contained in:
Keavon Chambers 2025-08-05 20:55:15 -07:00 committed by GitHub
parent 309a64340b
commit 0f638314dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 267 additions and 277 deletions

View file

@ -18,14 +18,14 @@ impl<T: RenderComplexity> RenderComplexity for Table<T> {
impl RenderComplexity for Artboard {
fn render_complexity(&self) -> usize {
self.group.render_complexity()
self.content.render_complexity()
}
}
impl RenderComplexity for Graphic {
fn render_complexity(&self) -> usize {
match self {
Self::Group(table) => table.render_complexity(),
Self::Graphic(table) => table.render_complexity(),
Self::Vector(table) => table.render_complexity(),
Self::RasterCPU(table) => table.render_complexity(),
Self::RasterGPU(table) => table.render_complexity(),