fix: scissor layout bounds for images

This commit is contained in:
Ashley Wulber 2022-11-23 13:37:59 -05:00
parent b4aedceac6
commit 751ffb5900
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
2 changed files with 12 additions and 1 deletions

View file

@ -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() {