summaryrefslogtreecommitdiffstats
path: root/widget/src/image
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/image')
-rw-r--r--widget/src/image/viewer.rs2
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;