Skip to content

Commit

Permalink
docs: Fix simple typo, horziontal -> horizontal
Browse files Browse the repository at this point in the history
There is a small typo in src/item/Item.js, src/view/View.js.

Should read `horizontal` rather than `horziontal`.
  • Loading branch information
timgates42 authored and sapics committed Apr 13, 2020
1 parent c044b69 commit 9de1d4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/item/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -3465,7 +3465,7 @@ new function() { // Injection scope for hit-test functions shared with project
*
* @name Item#shear
* @function
* @param {Point} shear the horziontal and vertical shear factors as a point
* @param {Point} shear the horizontal and vertical shear factors as a point
* @param {Point} [center={@link Item#position}]
* @see Matrix#shear(shear[, center])
*/
Expand All @@ -3487,7 +3487,7 @@ new function() { // Injection scope for hit-test functions shared with project
*
* @name Item#skew
* @function
* @param {Point} skew the horziontal and vertical skew angles in degrees
* @param {Point} skew the horizontal and vertical skew angles in degrees
* @param {Point} [center={@link Item#position}]
* @see Matrix#shear(skew[, center])
*/
Expand Down
4 changes: 2 additions & 2 deletions src/view/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ var View = Base.extend(Emitter, /** @lends View# */{
*
* @name View#shear
* @function
* @param {Point} shear the horziontal and vertical shear factors as a point
* @param {Point} shear the horizontal and vertical shear factors as a point
* @param {Point} [center={@link View#center}]
* @see Matrix#shear(shear[, center])
*/
Expand All @@ -655,7 +655,7 @@ var View = Base.extend(Emitter, /** @lends View# */{
*
* @name View#skew
* @function
* @param {Point} skew the horziontal and vertical skew angles in degrees
* @param {Point} skew the horizontal and vertical skew angles in degrees
* @param {Point} [center={@link View#center}]
* @see Matrix#shear(skew[, center])
*/
Expand Down

0 comments on commit 9de1d4a

Please sign in to comment.