From ac3392c62914512e2a8996082eaeec3d920fba7b Mon Sep 17 00:00:00 2001 From: Corey Cahill Date: Thu, 16 Jun 2022 20:02:09 -0400 Subject: [PATCH] fix typo in comment --- src/render/object-fit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/object-fit.ts b/src/render/object-fit.ts index 3b5c1db..5754b29 100644 --- a/src/render/object-fit.ts +++ b/src/render/object-fit.ts @@ -28,7 +28,7 @@ export const calculateObjectFitBounds = ( objectFit = naturalWidth < clientWidth && naturalHeight < clientHeight ? OBJECT_FIT.NONE // src is smaller on both axes - : OBJECT_FIT.CONTAIN; // at least one axes is greater or equal in size + : OBJECT_FIT.CONTAIN; // at least one axis is greater or equal in size } switch (objectFit) {