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 {
|
||||
translation,
|
||||
content: Box::new(Primitive::Clip {
|
||||
bounds: region,
|
||||
bounds: Rectangle::with_size(region.size()),
|
||||
content: Box::new(Primitive::Group {
|
||||
primitives: text,
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue