Fix canvas::Frame issuing a new layer for Mesh2D in with_clip
Text will still be rendered in its own layer, until we fix the composition bottleneck in `glyph-brush`.
This commit is contained in:
parent
a53fa91e0d
commit
ec8ed9fa8b
2 changed files with 32 additions and 16 deletions
|
|
@ -22,9 +22,3 @@ impl Geometry {
|
|||
self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl From<Geometry> for Primitive {
|
||||
fn from(geometry: Geometry) -> Primitive {
|
||||
geometry.0
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue