Don't double translate text clip
This commit is contained in:
parent
e209349c50
commit
56ad3a3221
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ impl Frame {
|
||||||
Primitive::Translate {
|
Primitive::Translate {
|
||||||
translation,
|
translation,
|
||||||
content: Box::new(Primitive::Clip {
|
content: Box::new(Primitive::Clip {
|
||||||
bounds: region,
|
bounds: Rectangle::with_size(region.size()),
|
||||||
content: Box::new(Primitive::Group {
|
content: Box::new(Primitive::Group {
|
||||||
primitives: text,
|
primitives: text,
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue