summaryrefslogtreecommitdiffstats
path: root/glow/src/backend.rs
diff options
context:
space:
mode:
authorLibravatar Ashley Wulber <ashley@system76.com>2022-11-23 13:37:59 -0500
committerLibravatar Ashley Wulber <ashley@system76.com>2022-11-23 13:37:59 -0500
commit751ffb590053d713ea376893a1d9050514b8ffe1 (patch)
tree31c31c64038e8875118e8e9c0f78038f5810e28a /glow/src/backend.rs
parentb4aedceac6f3937eabec90fc84d5eda61a000575 (diff)
downloadiced-751ffb590053d713ea376893a1d9050514b8ffe1.tar.gz
iced-751ffb590053d713ea376893a1d9050514b8ffe1.tar.bz2
iced-751ffb590053d713ea376893a1d9050514b8ffe1.zip
fix: scissor layout bounds for images
Diffstat (limited to '')
-rw-r--r--glow/src/backend.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/glow/src/backend.rs b/glow/src/backend.rs
index 1a41d540..c663869e 100644
--- a/glow/src/backend.rs
+++ b/glow/src/backend.rs
@@ -129,7 +129,7 @@ impl Backend {
* Transformation::scale(scale_factor, scale_factor);
self.image_pipeline
- .draw(gl, scaled, scale_factor, &layer.images);
+ .draw(gl, scaled, scale_factor, &layer.images, bounds);
}
if !layer.text.is_empty() {