fix some comments
Signed-off-by: rustrover <seekseat@126.com>
This commit is contained in:
parent
a341e39df6
commit
500ba962d1
7 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue