Don't double translate text clip

This commit is contained in:
Cory Forsstrom 2022-08-15 09:29:53 -07:00
parent e209349c50
commit 56ad3a3221

View file

@ -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,
}),