mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 02:18:11 +08:00
Fix misc errors and cleanup after rebases
This commit is contained in:
@@ -302,6 +302,7 @@ impl Render for Graphic {
|
||||
Graphic::RasterGPU(table) => table.to_graphic(),
|
||||
Graphic::Color(table) => table.to_graphic(),
|
||||
Graphic::Gradient(table) => table.to_graphic(),
|
||||
Graphic::Typography(table) => table.to_graphic(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1696,6 +1697,10 @@ impl Render for Table<Typography> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn to_graphic(self) -> Graphic {
|
||||
Graphic::Typography(self)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
|
||||
Reference in New Issue
Block a user