diff options
author | 2022-08-15 09:29:53 -0700 | |
---|---|---|
committer | 2022-08-15 09:29:53 -0700 | |
commit | 56ad3a3221772aed0f6e531038fb7b5a56e4e5e2 (patch) | |
tree | 93384e4ca88d0b400f292a36f9374688bbcf9d2d /graphics | |
parent | e209349c508fe67d4494cd512eb25899840a13fd (diff) | |
download | iced-56ad3a3221772aed0f6e531038fb7b5a56e4e5e2.tar.gz iced-56ad3a3221772aed0f6e531038fb7b5a56e4e5e2.tar.bz2 iced-56ad3a3221772aed0f6e531038fb7b5a56e4e5e2.zip |
Don't double translate text clip
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/src/widget/canvas/frame.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/widget/canvas/frame.rs b/graphics/src/widget/canvas/frame.rs index 417412b2..516539ca 100644 --- a/graphics/src/widget/canvas/frame.rs +++ b/graphics/src/widget/canvas/frame.rs @@ -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, }), |