diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-24 17:00:10 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-24 17:00:10 +0100 |
| commit | 304d9dd1107504f3925c2593dd279ea6616defab (patch) | |
| tree | 1af3bd9c68659d1a644e40a50a31e6688267400a /src/library/image.rs | |
| parent | 8a88f71cb11565c1a78bd57f02a8df17cb2bf7a0 (diff) | |
Small style changes
Diffstat (limited to 'src/library/image.rs')
| -rw-r--r-- | src/library/image.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/image.rs b/src/library/image.rs index 17822619..a421af60 100644 --- a/src/library/image.rs +++ b/src/library/image.rs @@ -73,7 +73,7 @@ impl Layout for ImageNode { ImageFit::Stretch => canvas, }; - // The position of the image so that it is centered in the canvas. + // Position the image so that it is centered in the canvas. let mut frame = Frame::new(canvas, canvas.h); frame.push( (canvas - size).to_point() / 2.0, |
