diff options
Diffstat (limited to 'library/src/visualize/image.rs')
| -rw-r--r-- | library/src/visualize/image.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/visualize/image.rs b/library/src/visualize/image.rs index 4509cf5a..129e07c5 100644 --- a/library/src/visualize/image.rs +++ b/library/src/visualize/image.rs @@ -97,7 +97,7 @@ impl Layout for ImageNode { // the frame to the target size, center aligning the image in the // process. let mut frame = Frame::new(fitted); - frame.push(Point::zero(), Element::Image(image, fitted)); + frame.push(Point::zero(), Element::Image(image, fitted, self.span())); frame.resize(target, Align::CENTER_HORIZON); // Create a clipping group if only part of the image should be visible. |
