Merge pull request #1411 from tarkah/fix/canvas-with-clip-text
Don't double translate text clip inside canvas
This commit is contained in:
commit
4425839aa4
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