diff options
author | 2024-03-09 15:26:37 +0800 | |
---|---|---|
committer | 2024-03-09 15:26:37 +0800 | |
commit | 500ba962d17853bdef7aed49b150dbe3f45692e9 (patch) | |
tree | 52f7177fb7a31494a0d021c5f1c238145577a7c9 /widget | |
parent | a341e39df63e9c4860eb796bf5c4b6a9b41116a2 (diff) | |
download | iced-500ba962d17853bdef7aed49b150dbe3f45692e9.tar.gz iced-500ba962d17853bdef7aed49b150dbe3f45692e9.tar.bz2 iced-500ba962d17853bdef7aed49b150dbe3f45692e9.zip |
fix some comments
Signed-off-by: rustrover <seekseat@126.com>
Diffstat (limited to 'widget')
-rw-r--r-- | widget/src/image/viewer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/image/viewer.rs b/widget/src/image/viewer.rs index 9666ff9f..f45c401a 100644 --- a/widget/src/image/viewer.rs +++ b/widget/src/image/viewer.rs @@ -126,7 +126,7 @@ where }; // Only calculate viewport sizes if the images are constrained to a limited space. - // If they are Fill|Portion let them expand within their alotted space. + // If they are Fill|Portion let them expand within their allotted space. match expansion_size { Length::Shrink | Length::Fixed(_) => { let aspect_ratio = width as f32 / height as f32; |