diff options
author | 2024-03-09 11:59:33 +0100 | |
---|---|---|
committer | 2024-03-09 11:59:33 +0100 | |
commit | e236bd695aae4f07518479983c3da2b214f0b361 (patch) | |
tree | 52f7177fb7a31494a0d021c5f1c238145577a7c9 /widget | |
parent | a341e39df63e9c4860eb796bf5c4b6a9b41116a2 (diff) | |
parent | 500ba962d17853bdef7aed49b150dbe3f45692e9 (diff) | |
download | iced-e236bd695aae4f07518479983c3da2b214f0b361.tar.gz iced-e236bd695aae4f07518479983c3da2b214f0b361.tar.bz2 iced-e236bd695aae4f07518479983c3da2b214f0b361.zip |
Merge pull request #2317 from rustrover/master
fix some comments
Diffstat (limited to '')
-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; |