Trim text measurements only before layout
This commit is contained in:
parent
cdce03cf7f
commit
d666e739cd
4 changed files with 30 additions and 28 deletions
|
|
@ -337,6 +337,10 @@ impl Backend {
|
|||
|
||||
impl crate::graphics::Backend for Backend {
|
||||
type Primitive = primitive::Custom;
|
||||
|
||||
fn trim_measurements(&mut self) {
|
||||
self.text_pipeline.trim_measurements();
|
||||
}
|
||||
}
|
||||
|
||||
impl backend::Text for Backend {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue