spelling: envelope

This commit is contained in:
Josh Soref 2019-10-29 01:53:22 -04:00
parent 4a322dc7be
commit d6820e6da8
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ var GetAspectRatio = require('./GetAspectRatio');
* @generic {Phaser.Geom.Rectangle} O - [target,$return]
*
* @param {Phaser.Geom.Rectangle} target - The target rectangle to adjust.
* @param {Phaser.Geom.Rectangle} source - The source rectangle to envlope the target in.
* @param {Phaser.Geom.Rectangle} source - The source rectangle to envelope the target in.
*
* @return {Phaser.Geom.Rectangle} The modified target rectangle instance.
*/

View file

@ -540,7 +540,7 @@ var Size = new Class({
},
/**
* The current `width` and `height` are adjusted so that they fully envlop the given dimensions, while keeping the aspect ratio.
* The current `width` and `height` are adjusted so that they fully envelope the given dimensions, while keeping the aspect ratio.
*
* The size may extend further out than the target area if the aspect ratios differ.
*