mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
fix typo in comment
This commit is contained in:
parent
ef09e7ae86
commit
ac3392c629
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user