From 500ba962d17853bdef7aed49b150dbe3f45692e9 Mon Sep 17 00:00:00 2001 From: rustrover Date: Sat, 9 Mar 2024 15:26:37 +0800 Subject: fix some comments Signed-off-by: rustrover --- widget/src/image/viewer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widget/src') 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; -- cgit